Class Facility
A class that represents a facility.
Inheritance
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class Facility
Remarks
Facilities represent locations that can serve as the starting point or ending point of a closest facility analysis, for example, a fire station or a hospital. The Facility class contains one of location inputs for the ClosestFacilityTask. The ClosestFacilityTask will create a route between facilities and incidents.
Constructors
| Name | Description |
|---|---|
| Facility(MapPoint) | Initializes a new instance of the Facility class with a point. |
Properties
| Name | Description |
|---|---|
| CurbApproach | Gets or sets the curb approach. |
| CurrentBearing | Gets or sets the current bearing in degrees. |
| CurrentBearingTolerance | Gets or sets the current bearing tolerance in degrees. Valid values are 0 to 180 or System.Double.NaN. |
| DistanceToNetworkLocation | Gets distance to network location in meters. |
| FacilityId | Gets or sets the facility ID. |
| Geometry | Gets facility's point geometry. |
| ImpedanceCutoff | Gets or sets impedance cutoff. |
| LocationStatus | Gets location status. |
| Name | Gets or sets facility's name. |
| NavigationLatency | Gets or sets the navigation latency. |
| NavigationSpeed | Gets or sets the navigation speed in meters per second. |
| NetworkLocation | Gets or sets the network location. |
Methods
| Name | Description |
|---|---|
| GetAddedCost(String) | Gets added cost. |
| SetAddedCost(String, Double) | Sets added cost. |
Applies to
| 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 |