Class Facility
A class that represents a facility.
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 - 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 |