ArcGIS Runtime SDK for macOS: AGSDirectionManeuver Class Reference
ArcGIS Runtime SDK for macOS  100.5
AGSDirectionManeuver Class Reference

Description

Instances of this class represent an individual maneuver in a series of turn-by-turn driving directions.

Since
100
Inheritance diagram for AGSDirectionManeuver:
AGSObject

Instance Methods

(instancetype) - NS_UNAVAILABLE
 

Properties

NSArray< AGSDirectionEvent * > * directionEvents
 
NSString * directionText
 
double duration
 
double estimatedArrivalTimeShift
 
NSDate * estimatedArriveTime
 
NSInteger fromLevel
 
AGSGeometrygeometry
 
double length
 
NSArray< AGSDirectionMessage * > * maneuverMessages
 
AGSDirectionManeuverType maneuverType
 
NSInteger toLevel
 

Property Documentation

§ directionEvents

- (NSArray<AGSDirectionEvent*>*) directionEvents
readnonatomiccopy

Events along the maneuver

Since
100

§ directionText

- (NSString*) directionText
readnonatomiccopy

User-friendly text describing the maneuver

Since
100

§ duration

- (double) duration
readnonatomicassign

Duration (in minutes) of the maneuver

Since
100

§ estimatedArrivalTimeShift

- (double) estimatedArrivalTimeShift
readnonatomicassign

Time zone shift in minutes (based on the destination of this manuever) for the estimated arrival time.

Since
100

§ estimatedArriveTime

- (NSDate*) estimatedArriveTime
readnonatomicstrong

Estimated time of arrival at the destination of this manuever in the current locale of the device.

Since
100

§ fromLevel

- (NSInteger) fromLevel
readnonatomicassign

The logical level at the start of the maneuver. The fromLevel and toLevel properties are defined to provide a way to filter directions based on logical level division. For example, a 3D routing application might render a 2D map with route lines filtered by vertical level instead of displaying overlapping lines on different levels. The fromLevel and toLevel properties are populated from source data and not calculated by the directions engine. If the source data does not contain "LevelFrom" and "LevelTo" fields, the properties will be populated with -1 values

Since
100.2

§ geometry

- (AGSGeometry*) geometry
readnonatomicstrong

Geometry representing the maneuver, be it a turn or travelling in a straight line.

Since
100

§ length

- (double) length
readnonatomicassign

Length (in meters) of the maneuver

Since
100

§ maneuverMessages

- (NSArray<AGSDirectionMessage*>*) maneuverMessages
readnonatomiccopy

The detailed messages describing this manuever

Since
100

§ maneuverType

- (AGSDirectionManeuverType) maneuverType
readnonatomicassign

The maneuver type

Since
100

§ toLevel

- (NSInteger) toLevel
readnonatomicassign

The logical level at the end of the maneuver. The fromLevel and toLevel properties are defined to provide a way to filter directions based on logical level division. For example, a 3D routing application might render a 2D map with route lines filtered by vertical level instead of displaying overlapping lines on different levels. The fromLevel and toLevel properties are populated from source data and not calculated by the directions engine. If the source data does not contain "LevelFrom" and "LevelTo" fields, the properties will be populated with -1 values

Since
100.2