ArcGIS Runtime SDK for iOS: AGSClosestFacilityRoute Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSClosestFacilityRoute Class Reference

Description

An individual route between a facility and an incident.

Instances of this class represent an individual route between a facility and an incident that is available through AGSClosestFacilityResult::routeForFacilityIndex:incidentIndex .

Since
100.1
Inheritance diagram for AGSClosestFacilityRoute:
AGSObject

Instance Methods

(double) - costForCostAttribute:
 

Properties

AGSCurbApproach arrivalCurbApproach
 
AGSCurbApproach departureCurbApproach
 
NSArray< AGSDirectionManeuver * > * directionManeuvers
 
NSDate * endTime
 
double endTimeShift
 
AGSPolylinerouteGeometry
 
NSDate * startTime
 
double startTimeShift
 
double totalLength
 
double totalTime
 
double travelTime
 

Method Documentation

◆ costForCostAttribute:

- (double) costForCostAttribute: (NSString *)  attributeName

Property Documentation

◆ arrivalCurbApproach

- (AGSCurbApproach) arrivalCurbApproach
readnonatomicassign

Side of curb at which the route arrives at the destination

Since
100.1

◆ departureCurbApproach

- (AGSCurbApproach) departureCurbApproach
readnonatomicassign

Side of curb at which the route departs the origin

Since
100.1

◆ directionManeuvers

- (NSArray<AGSDirectionManeuver*>*) directionManeuvers
readnonatomiccopy

Turn-by-turn driving directions along this route. Only available if AGSClosestFacilityParameters::returnDirections is enabled.

See also
AGSDirectionManeuver, AGSClosestFacilityParameters::returnDirections
Since
100.1

◆ endTime

- (NSDate*) endTime
readnonatomicstrong

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

Since
100.1

◆ endTimeShift

- (double) endTimeShift
readnonatomicassign

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

Since
100.1

◆ routeGeometry

- (AGSPolyline*) routeGeometry
readnonatomicstrong

The route geometry.

Since
100.1

◆ startTime

- (NSDate*) startTime
readnonatomicstrong

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

Since
100.1

◆ startTimeShift

- (double) startTimeShift
readnonatomicassign

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

Since
100.1

◆ totalLength

- (double) totalLength
readnonatomicassign

Total distance (in meters) covered by the route.

Since
100.1

◆ totalTime

- (double) totalTime
readnonatomicassign

Overall time (in minutes) taken by the route from start to end. This includes travelTime and #waitTime.

Since
100.1

◆ travelTime

- (double) travelTime
readnonatomicassign

Total time (in minutes) spent travelling along the route.

Since
100.1