Package com.azure.maps.route.models
Class RouteDirectionsOptions
java.lang.Object
com.azure.maps.route.models.BaseRouteOptions<RouteDirectionsOptions>
com.azure.maps.route.models.RouteDirectionsOptions
Route Directions Options
-
Constructor Summary
ConstructorsConstructorDescriptionRouteDirectionsOptions
(List<com.azure.core.models.GeoPosition> routePoints) Builds a new set of options for the Route Directions call. -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of the alternative routeReturns the arrival time.Returns whether to use the best waypoint order.Returns the type of computation for the travel time.Returns the type ofSectionType
used for filtering.Returns the type of route instructions.Returns the language.Returns the maximum number of alternative routes.Returns the minimum deviation distance.Returns the minimal deviation time.Returns the type ofReport
List<com.azure.core.models.GeoPosition>
Returns the route pointsReturns the representation for the best order.Returns the vehicle heading.Sets the language.setAlternativeType
(AlternativeRouteType alternativeType) Sets the type of the alternative routesetArriveAt
(OffsetDateTime arriveAt) Sets the arrival time.setComputeBestWaypointOrder
(Boolean computeBestWaypointOrder) Sets whether to use the best waypoint order.setComputeTravelTime
(ComputeTravelTime computeTravelTime) Sets the type of computation for the travel time.setFilterSectionType
(SectionType filterSectionType) Sets the type ofSectionType
used for filtering.setInstructionsType
(RouteInstructionsType instructionsType) Sets the type of route instructions.setMaxAlternatives
(Integer maxAlternatives) Sets the maximum number of alternative routes.setMinDeviationDistance
(Integer minDeviationDistance) Sets the minimum deviation distance.setMinDeviationTime
(Integer minDeviationTime) Sets the minimal deviation time.Sets the type ofReport
setRoutePoints
(List<com.azure.core.models.GeoPosition> routePoints) Sets the route pointssetRouteRepresentationForBestOrder
(RouteRepresentationForBestOrder routeRepresentationForBestOrder) Sets the representation for the best order.setVehicleHeading
(Integer vehicleHeading) Sets the vehicle heading.Methods inherited from class com.azure.maps.route.models.BaseRouteOptions
getAccelerationEfficiency, getAuxiliaryPowerInKw, getAuxiliaryPowerInLitersPerHour, getAvoidRouteTypes, getConstantSpeedConsumptionInKwHPerHundredKm, getConstantSpeedConsumptionInLitersPerHundredKm, getCurrentChargeInKwH, getCurrentFuelInLiters, getDecelerationEfficiency, getDepartAt, getDownhillEfficiency, getFuelEnergyDensityInMegajoulesPerLiter, getInclineLevel, getMaxChargeInKwH, getRouteType, getTravelMode, getUphillEfficiency, getVehicleAxleWeight, getVehicleEngineType, getVehicleHeight, getVehicleLength, getVehicleLoadType, getVehicleMaxSpeed, getVehicleWeight, getVehicleWidth, getWindingness, isCommercialVehicle, isGetUseTrafficData, setAccelerationEfficiency, setAuxiliaryPowerInKw, setAuxiliaryPowerInLitersPerHour, setAvoid, setCommercialVehicle, setConstantSpeedConsumptionInKwHPerHundredKm, setConstantSpeedConsumptionInLitersPerHundredKm, setCurrentChargeInKwH, setCurrentFuelInLiters, setDecelerationEfficiency, setDepartAt, setDownhillEfficiency, setFuelEnergyDensityInMegajoulesPerLiter, setInclineLevel, setMaxChargeInKwH, setRouteType, setTravelMode, setUphillEfficiency, setUseTrafficData, setVehicleAxleWeight, setVehicleEngineType, setVehicleHeight, setVehicleLength, setVehicleLoadType, setVehicleMaxSpeed, setVehicleWeight, setVehicleWidth, setWindingness
-
Constructor Details
-
RouteDirectionsOptions
Builds a new set of options for the Route Directions call.- Parameters:
routePoints
- a list ofGeoPosition
route points.
-
-
Method Details
-
getRoutePoints
Returns the route points- Returns:
- a list of
GeoPosition
route points.
-
getMaxAlternatives
Returns the maximum number of alternative routes.- Returns:
- the maximum number of alternative routes.
-
getAlternativeType
Returns the type of the alternative route- Returns:
- a
AlternativeRouteType
-
getMinDeviationDistance
Returns the minimum deviation distance.- Returns:
- the minimum deviation distance.
-
getArriveAt
Returns the arrival time.- Returns:
- the arrival time.
-
getMinDeviationTime
Returns the minimal deviation time.- Returns:
- minimum deviation time.
-
getInstructionsType
Returns the type of route instructions.- Returns:
RouteInstructionsType
-
getLanguage
Returns the language.- Returns:
- the language.
-
getComputeBestWaypointOrder
Returns whether to use the best waypoint order.- Returns:
- whether to use the best waypoint order.
-
getRouteRepresentationForBestOrder
Returns the representation for the best order.- Returns:
RouteRepresentationForBestOrder
-
getComputeTravelTime
Returns the type of computation for the travel time.- Returns:
ComputeTravelTime
-
getVehicleHeading
Returns the vehicle heading.- Returns:
- the vehicle heading.
-
getReport
Returns the type ofReport
- Returns:
Report
-
getFilterSectionType
Returns the type ofSectionType
used for filtering.- Returns:
SectionType
-
setRoutePoints
Sets the route points- Parameters:
routePoints
- a list ofGeoPosition
route points.- Returns:
- a reference to this
RouteDirectionsOptions
-
setMaxAlternatives
Sets the maximum number of alternative routes.- Parameters:
maxAlternatives
- the maximum number of alternative routes.- Returns:
- a reference to this
RouteDirectionsOptions
-
setAlternativeType
Sets the type of the alternative route- Parameters:
alternativeType
-AlternativeRouteType
- Returns:
- a reference to this
RouteDirectionsOptions
-
setMinDeviationDistance
Sets the minimum deviation distance.- Parameters:
minDeviationDistance
- the minimum deviation distance.- Returns:
- a reference to this
RouteDirectionsOptions
-
setArriveAt
Sets the arrival time.- Parameters:
arriveAt
- the arrival time.- Returns:
- a reference to this
RouteDirectionsOptions
-
setMinDeviationTime
Sets the minimal deviation time.- Parameters:
minDeviationTime
- the minimal deviation time.- Returns:
- a reference to this
RouteDirectionsOptions
-
setInstructionsType
Sets the type of route instructions.- Parameters:
instructionsType
-RouteInstructionsType
- Returns:
- a reference to this
RouteDirectionsOptions
-
language
Sets the language.- Parameters:
language
- Sets the language.- Returns:
- a reference to this
RouteDirectionsOptions
-
setComputeBestWaypointOrder
Sets whether to use the best waypoint order.- Parameters:
computeBestWaypointOrder
- whether to use the best waypoint order.- Returns:
- a reference to this
RouteDirectionsOptions
-
setRouteRepresentationForBestOrder
public RouteDirectionsOptions setRouteRepresentationForBestOrder(RouteRepresentationForBestOrder routeRepresentationForBestOrder) Sets the representation for the best order.- Parameters:
routeRepresentationForBestOrder
-RouteRepresentationForBestOrder
- Returns:
- a reference to this
RouteDirectionsOptions
-
setComputeTravelTime
Sets the type of computation for the travel time.- Parameters:
computeTravelTime
-ComputeTravelTime
- Returns:
- a reference to this
RouteDirectionsOptions
-
setVehicleHeading
Sets the vehicle heading.- Parameters:
vehicleHeading
- the vehicle heading.- Returns:
- a reference to this
RouteDirectionsOptions
-
setReport
Sets the type ofReport
- Parameters:
report
- the type ofReport
- Returns:
- a reference to this
RouteDirectionsOptions
-
setFilterSectionType
Sets the type ofSectionType
used for filtering.- Parameters:
filterSectionType
-SectionType
- Returns:
- a reference to this
RouteDirectionsOptions
-