Method SetFacilities
SetFacilities(IEnumerable<ServiceAreaFacility>)
Sets facilities.
Declaration
public void SetFacilities(IEnumerable<ServiceAreaFacility> facilities)
Parameters
| Type | Name | Description |
|---|---|---|
| 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 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.14 |
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 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.15 |
Relevant samples
Find service areas for multiple facilities: Find the service areas of several facilities from a feature service.