SYManeuver Class Reference

Represents a maneuver, which is the action where you leave one street segment and enter the next one. More...

#import <SYRoutingManeuver.h>

Inheritance diagram for SYManeuver:
Collaboration diagram for SYManeuver:

Instance Methods

(instancetype) - initWithSDKManeuver:distance: [implementation]
 

Class Methods

(instancetype) + maneuverWithSDKManeuver:distance: [implementation]
 

Properties

SYGeoCoordinatecoordinate
 The SYGeoCoordinate of the maneuver. If this maneuver contains one or more transit route elements, this coordinate will be the same as the coordinate of the 1st transit route element. More...
 
SYManeuverType type
 Maneuver type. See the available SYManeuverType for more info. More...
 
SYDistance distanceToManeuver
 Distance to maneuver from current on route position. More...
 
SYDistance distanceFromStart
 Distance to maneuver from route start point in meters. More...
 
NSUInteger waypointPart
 zero based index to which waypoint part this maneuver belongs. More...
 
SYRoadroad
 The name of the road on which the SYManeuver takes place, nil if not available. More...
 
SYRoadnextRoad
 The road to which the SYManeuver leads, nil if not available. If not available, it should be left blank. More...
 

Detailed Description

Represents a maneuver, which is the action where you leave one street segment and enter the next one.

Method Documentation

◆ initWithSDKManeuver:distance:()

- (instancetype) initWithSDKManeuver: (const Sygic::Router::Maneuver &)  maneuver
distance: (SYDistance)  distance 
implementation

◆ maneuverWithSDKManeuver:distance:()

+ (instancetype) maneuverWithSDKManeuver: (const Sygic::Router::Maneuver &)  maneuver
distance: (SYDistance)  distance 
implementation

Property Documentation

◆ coordinate

- (SYGeoCoordinate*) coordinate
readnonatomicassign

The SYGeoCoordinate of the maneuver. If this maneuver contains one or more transit route elements, this coordinate will be the same as the coordinate of the 1st transit route element.

◆ distanceFromStart

- (SYDistance) distanceFromStart
readnonatomicassign

Distance to maneuver from route start point in meters.

◆ distanceToManeuver

- (SYDistance) distanceToManeuver
readnonatomicassign

Distance to maneuver from current on route position.

◆ nextRoad

- (SYRoad*) nextRoad
readnonatomicassign

The road to which the SYManeuver leads, nil if not available. If not available, it should be left blank.

◆ road

- (SYRoad*) road
readnonatomicassign

The name of the road on which the SYManeuver takes place, nil if not available.

◆ type

- (SYManeuverType) type
readnonatomicassign

Maneuver type. See the available SYManeuverType for more info.

◆ waypointPart

- (NSUInteger) waypointPart
readnonatomicassign

zero based index to which waypoint part this maneuver belongs.


The documentation for this class was generated from the following file: