Java com.google.gwt.maps.client.services DirectionsRequest fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.maps.client.services DirectionsRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.maps.client.services DirectionsRequest.

The text is from its open source code.

Method

DirectionsRequestnewInstance()
A directions query to be sent to the DirectionsService.
voidsetAvoidHighways(boolean avoidHighways)
If true, instructs the Directions service to avoid highways where possible.
voidsetAvoidTolls(boolean avoidTolls)
If true, instructs the Directions service to avoid toll roads where possible.
voidsetDestination(String destination)
Location of destination.
voidsetDestination(LatLng destination)
Location of destination.
voidsetOptimizeWaypoints(boolean optimizeWaypoints)
If set to true, the DirectionService will attempt to re-order the supplied intermediate waypoints to minimize overall cost of the route.
voidsetOrigin(String origin)
Location of origin.
voidsetOrigin(LatLng origin)
Location of origin.
voidsetProvideRouteAlternatives(boolean provideRouteAlternatives)
Whether or not route alternatives should be provided.
voidsetRegion(String region)
Region code used as a bias for geocoding requests.
voidsetTransitOptions(TransitOptions transitOptions)
Settings that apply only to requests where travelMode is TRANSIT.
voidsetTravelMode(TravelMode travelMode)
Type of routing requested.
voidsetUnitSystem(UnitSystem unitSystem)
Preferred unit system to use when displaying distance.
voidsetWaypoints(JsArray waypoints)
Array of intermediate waypoints.