Closest Facility Route
A class that contains the output from a solving closest task for a single result. The solving closest route contains all necessary output from a successfully- completed ClosestFacilityTask.solveClosestFacility(ClosestFacilityParameters). This includes the cost, geometry, and additional metadata specific to the resulting route solution (e.g., route directions, local start/end time, etc.).
Since
200.1.0
See also
(ClosestFacilityParameters)
Properties
Arrival curb approach. Default value CurbApproach.EitherSide will be returned on error.
Direction maneuver. The list of turn-by-turn directions for this route. Can be empty array in case if ClosestFacilityParameters.returnDirections is false.
End time. A null if departure/arrival time was not specified in ClosestFacilityParameters.
Route's geometry. The geometry for the full route (polyline) in case if ClosestFacilityParameters.returnRoutes is true.
Start time. A null if departure/arrival time was not specified in ClosestFacilityParameters.