Class ServiceAreaTask
Instances of this class represent tasks that can compute service areas.
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ServiceAreaTask : IApiKeyResource
Remarks
A Service Area task allows you to calculate areas that can be serviced (reached) from a given location. A service area is a region that encompasses all accessible streets, that is, streets that lie within a specified impedance. For instance, the 10-minute service area for a facility includes all the streets that can be reached within 10 minutes from that facility.
Properties
Name | Description |
---|---|
ApiKey | Gets or sets the API key that allows your app to access ArcGIS location services and private portal items. |
ServiceAreaTaskInfo | Gets service area task info. |
TransportationNetworkDataset | Gets the transportation network dataset. |
Uri | Gets the service endpoint used to create task. |
Methods
Name | Description |
---|---|
CreateAsync(TransportationNetworkDataset) | Initializes a new instance of the ServiceAreaTask class from a transportation network dataset. |
CreateAsync(String, String) | Initializes a new instance of the ServiceAreaTask class from a local geodatabase. |
CreateAsync(Uri) | Creates a service area task with URL. |
CreateAsync(Uri, String) | Creates a service area task with URL. |
CreateDefaultParametersAsync() | Creates default parameters as defined by the service. |
SolveServiceAreaAsync(ServiceAreaParameters) | Solves a service area passing in a parameters object. |
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.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |