Class ClosestFacilityRoute
A class that represents an individual route between a facility and an incident that is available through GetRoute(Int32, Int32).
Inheritance
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ClosestFacilityRoute
Remarks
The route represents a single route with all requested output from a successfully completed SolveClosestFacilityAsync(ClosestFacilityParameters). This includes the cost, geometry, and additional metadata specific to the route solution (e.g., route directions, local start/end time, etc.).
Properties
Name | Description |
---|---|
ArrivalCurbApproach | Gets the side of the curb at which the route arrives at the destination. |
DepartureCurbApproach | Gets the side of the curb at which the route departs the origin. |
DirectionManeuvers | Gets the turn-by-turn driving directions along this route. |
EndTime | Gets the time when the route ends (arriving at the last stop) in the current locale of the device. |
EndTimeShift | Gets the time-zone shift in minutes (based on the time zone of the last stop) for the end time. |
RouteGeometry | Gets the route geometry. |
StartTime | Gets the time when the route begins (departing from the first stop) in the current locale of the device. |
StartTimeShift | Gets the time zone shift in minutes (based on the time zone of the last stop) for the start time. |
TotalLength | Gets the total distance (in meters) covered by the route. |
TotalTime | Gets the total time (in minutes) taken by the route from start to end. |
TravelTime | Gets travel time (in minutes) spent traveling along the route. |
Methods
Name | Description |
---|---|
GetCost(String) | Retrieves the associated cost for the specified attribute. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |