public interface DirectionsRequest
Modifier and Type | Method and Description |
---|---|
GeoPoint |
getDestination() |
GeoPoint |
getOrigin() |
java.lang.String |
getRegion() |
TravelMode |
getTravelMode() |
UnitSystem |
getUnitSystem() |
java.util.List<DirectionsWaypoint> |
getWaypoints() |
boolean |
isAvoidHighways() |
boolean |
isAvoidTolls() |
boolean |
isOptimizeWaypoints() |
boolean |
isProvideRouteAlternatives() |
void |
setAvoidHighways(boolean avoidHighways) |
void |
setAvoidTolls(boolean avoidTolls) |
void |
setDestination(GeoPoint destination) |
void |
setOptimizeWaypoints(boolean optimizeWaypoints) |
void |
setOrigin(GeoPoint origin) |
void |
setProvideRouteAlternatives(boolean provideRouteAlternatives) |
void |
setRegion(java.lang.String region) |
void |
setTravelMode(TravelMode travelMode) |
void |
setUnitSystem(UnitSystem unitSystem) |
void |
setWaypoints(java.util.List<DirectionsWaypoint> waypoints) |
java.util.List<DirectionsWaypoint> getWaypoints()
void setWaypoints(java.util.List<DirectionsWaypoint> waypoints)
boolean isAvoidHighways()
void setAvoidHighways(boolean avoidHighways)
boolean isAvoidTolls()
void setAvoidTolls(boolean avoidTolls)
boolean isOptimizeWaypoints()
void setOptimizeWaypoints(boolean optimizeWaypoints)
boolean isProvideRouteAlternatives()
void setProvideRouteAlternatives(boolean provideRouteAlternatives)
GeoPoint getOrigin()
void setOrigin(GeoPoint origin)
GeoPoint getDestination()
void setDestination(GeoPoint destination)
java.lang.String getRegion()
void setRegion(java.lang.String region)
TravelMode getTravelMode()
void setTravelMode(TravelMode travelMode)
UnitSystem getUnitSystem()
void setUnitSystem(UnitSystem unitSystem)