Closest Facility Result
A class that contains the output results from a ClosestFacilityTask. The closest facility result contains all necessary output from a successfully- completed ClosestFacilityTask.solveClosestFacility(ClosestFacilityParameters). This includes collection of routes, barriers and messages.
Since
200.1.0
See also
(ClosestFacilityParameters)
Properties
Directions language. The language used to generate driving directions text instructions.
Array of the facilities used to calculate the closest facility.
Array of the point barriers. Barriers are only returned if the returnPointBarriers property of ClosestFacilityParameters is true.
Array of the polygon barriers. Barriers are only returned if the returnPolygonBarriers property of ClosestFacilityParameters is true.
Array of the polyline barriers. Barriers are only returned if the returnPolylineBarriers property of ClosestFacilityParameters is true.
Functions
Gets facility costs.
Gets an ordered list of facility indexes for a given incident index. The first element in the list is the index of the closest facility, the second element is the next closest, etc. Multiple properties can effect the number of facilities returned for each incident.
Gets route.