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. 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.
Departure curb approach.
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.
Time zone shift for end time, in minutes. Value of the time zone shift for end time, in minutes.
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.
Time zone shift for start time in minutes. Value of the time zone shift for start time, in minutes.
Total length in meters. The total length of a closest facility route (meters).
Travel time in minutes. Travel time is total amount of travel time exclude added minutes from incident/facility added costs(if specified).