Example usage for Java com.google.gwt.maps.client.services DirectionsRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
DirectionsRequest | newInstance() A directions query to be sent to the DirectionsService. |
void | setAvoidHighways(boolean avoidHighways) If true, instructs the Directions service to avoid highways where possible. |
void | setAvoidTolls(boolean avoidTolls) If true, instructs the Directions service to avoid toll roads where possible. |
void | setDestination(String destination) Location of destination. |
void | setDestination(LatLng destination) Location of destination. |
void | setOptimizeWaypoints(boolean optimizeWaypoints) If set to true, the DirectionService will attempt to re-order the supplied intermediate waypoints to minimize overall cost of the route. |
void | setOrigin(String origin) Location of origin. |
void | setOrigin(LatLng origin) Location of origin. |
void | setProvideRouteAlternatives(boolean provideRouteAlternatives) Whether or not route alternatives should be provided. |
void | setRegion(String region) Region code used as a bias for geocoding requests. |
void | setTransitOptions(TransitOptions transitOptions) Settings that apply only to requests where travelMode is TRANSIT. |
void | setTravelMode(TravelMode travelMode) Type of routing requested. |
void | setUnitSystem(UnitSystem unitSystem) Preferred unit system to use when displaying distance. |
void | setWaypoints(JsArray Array of intermediate waypoints. |