Show / Hide Table of Contents

Class ClosestFacilityRoute

A class that represents an individual route between a facility and an incident that is available through GetRoute(Int32, Int32).

Inheritance
Object
ClosestFacilityRoute
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ClosestFacilityRoute
Remarks

The route represents a single route with all requested output from a successfully completed SolveClosestFacilityAsync(ClosestFacilityParameters). This includes the cost, geometry, and additional metadata specific to the route solution (e.g., route directions, local start/end time, etc.).

Properties

Name Description
ArrivalCurbApproach

Gets the side of the curb at which the route arrives at the destination.

DepartureCurbApproach

Gets the side of the curb at which the route departs the origin.

DirectionManeuvers

Gets the turn-by-turn driving directions along this route.

EndTime

Gets the time when the route ends (arriving at the last stop) in the current locale of the device.

EndTimeShift

Gets the time-zone shift in minutes (based on the time zone of the last stop) for the end time.

RouteGeometry

Gets the route geometry.

StartTime

Gets the time when the route begins (departing from the first stop) in the current locale of the device.

StartTimeShift

Gets the time zone shift in minutes (based on the time zone of the last stop) for the start time.

TotalLength

Gets the total distance (in meters) covered by the route.

TotalTime

Gets the total time (in minutes) taken by the route from start to end.

TravelTime

Gets travel time (in minutes) spent traveling along the route.

Methods

Name Description
GetCost(String)

Retrieves the associated cost for the specified attribute.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.15
In This Article
Back to top Copyright © 2022 Esri.