Method SetFacilities
SetFacilities(IEnumerable<ServiceAreaFacility>)
Sets facilities.
Declaration
public void SetFacilities(IEnumerable<ServiceAreaFacility> facilities)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<ServiceAreaFacility> | facilities | An enumerable of ServiceAreaFacility. |
Remarks
The set of service area facilities loaded as network locations during analysis. You need to specify at least one facility to successfully SolveServiceAreaAsync(ServiceAreaParameters).
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.2 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.1 - 200.8 |
| Xamarin.Android | 100.1 - 100.14 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 200.8 |
Relevant samples
Find service area: Find the service area within a network from a given point.
SetFacilities(ArcGISFeatureTable, QueryParameters)
Sets facilities from feature table.
Declaration
public void SetFacilities(ArcGISFeatureTable featureTable, QueryParameters queryParameters)
Parameters
| Type | Name | Description |
|---|---|---|
| ArcGISFeatureTable | featureTable | The feature table. |
| QueryParameters | queryParameters | The query parameters. |
Remarks
Sets facilities by importing them from local or remote table.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.1 - 200.8 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 200.8 |
Relevant samples
Find service areas for multiple facilities: Find the service areas of several facilities from a feature service.