Class RouteTask
Class for route tasks (online and local).
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class RouteTask : IApiKeyResource
Properties
Name | Description |
---|---|
Api |
Gets or sets the API key that allows your app to access ArcGIS location services and private portal items. |
Route |
Gets route task info. RouteTask must be loaded before accessing this property. |
Transportation |
Gets the transportation network dataset associated with the route task. |
Uri | Gets the Uri of the route task. |
Methods
Name | Description |
---|---|
Create |
Creates a route task from a transportation network dataset. |
Create |
Creates a route task from a local geodatabase. |
Create |
Creates a route task from an online URI. |
Create |
Creates a route task from an online URI. |
Create |
Creates default parameters for the route task. |
Create |
Imports route parameters from feature collection and then adjusts imported parameters to current Route task. |
Create |
Imports route parameters from portal item and then adjusts imported parameters to current Route task. |
Create |
Imports a route result from a Route Layer feature collection. |
Create |
Imports route result from portal item. |
Solve |
Solves a route with the specified parameters. |
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.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |