Class ClosestFacilityResult
A class that contains the output results from a SolveClosestFacilityAsync(ClosestFacilityParameters) operation.
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ClosestFacilityResult
Remarks
The result is a collection of computed routes between incidents and facilities, barriers used in the computation, and messages generated during the process.
Properties
Name | Description |
---|---|
DirectionsLanguage | Gets the language used to generate driving directions text instructions (i.e. en, fr, pt-BR, zh-Hans, etc.) |
Facilities | Gets the list of Facilities used in the analysis. |
Incidents | Gets the list of Incidents used in the analysis. |
Messages | Gets the list of informational messages that were generated while computing results. |
PointBarriers | Gets the list of point barriers used in the route computation. |
PolygonBarriers | Gets the list of polygon barriers used in the route computation. |
PolylineBarriers | Gets the list of the polyline barriers used in the route computation. |
Methods
Name | Description |
---|---|
GetFacilityCosts(String, Int32) | Retrieves the cost for the specified facility attribute. |
GetRankedFacilityIndexes(Int32) | Retrieves an ordered list of facilities for a given incident. |
GetRoute(Int32, Int32) | Retrieves a route between an incident and a facility. |
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 |