Show / Hide Table of Contents

Class Route

Class holding the information for a single route.

Inheritance
Object
Route
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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

TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.0 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.0 - 100.14

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.
In This Article
Back to top Copyright © 2021 Esri.