Class Route
Class holding the information for a single route.
Inheritance
System.Object
Route
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class Route
Properties
Name | Description |
---|---|
DirectionManeuvers | Gets the list of turn-by-turn directions for this route. |
EndTime | Gets end time in UTC. |
EndTimeShift | Gets the time-zone shift for the end time. |
RouteGeometry | Gets the geometry for the full route (polyline). |
RouteName | Gets route's name. |
StartTime | Gets start time in UTC. |
StartTimeShift | Gets the time-zone shift for the start time. |
Stops | Gets the collection of output stops. |
TotalLength | Gets total route length in meters. |
TotalTime | Gets route total time. |
TravelTime | Gets total travel time. |
ViolationTime | Gets the total amount of additional time incurred due to time window violations. |
WaitTime | Gets the total amount of additional time incurred due to waiting at time windows. |
Methods
Name | Description |
---|---|
GetCost(String) | Gets the associated cost for this attribute name. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
Find route: Display directions for a route between two points.
Mobile map (search and route): Display maps and use locators to enable search and routing offline using a Mobile Map Package.
Navigate route: Use a routing service to navigate between points.
Offline routing: Solve a route on-the-fly using offline data.