CartoType iOS API 8.8-13-g03c6f7017
for development in Swift and Objective C for iOS and Mac OS
Properties | List of all members
CartoTypeTurn Class Reference

#import <CartoTypeRouter.h>

Inheritance diagram for CartoTypeTurn:

Properties

CartoTypeTurnType turnType
 
bool isContinue
 
CartoTypeRoundaboutState roundaboutState
 
double turnAngle
 
int exitNumber
 
double distance
 
double time
 
NSString * fromName
 
NSString * fromRef
 
CartoTypeFeatureInfofromRouteInfo
 
NSString * toName
 
NSString * toRef
 
CartoTypeFeatureInfotoRouteInfo
 
CartoTypePoint position
 
NSString * instructions
 

Detailed Description

Information about a turn from one route segment to another.

Property Documentation

◆ distance

- (double) distance
readwritenonatomicassign

The distance in meters from the current position to the turn or the arrival point.

◆ exitNumber

- (int) exitNumber
readwritenonatomicassign

The junction to take, counting the current junction as 0, if this junction is part of a roundabout.

◆ fromName

- (NSString*) fromName
readwritenonatomicstrong

The name of the road before the turn.

◆ fromRef

- (NSString*) fromRef
readwritenonatomicstrong

The reference code (e.g., B4009) of the road before the turn.

◆ fromRouteInfo

- (CartoTypeFeatureInfo*) fromRouteInfo
readwritenonatomicassign

The road type of the road before the turn.

◆ instructions

- (NSString*) instructions
readwritenonatomicstrong

Instructions for the turn in the language of the current locale.

◆ isContinue

- (bool) isContinue
readwritenonatomicassign

True if this turn is a continuation of the current road and no notification is needed.

◆ position

- (CartoTypePoint) position
readwritenonatomicassign

The position of the turn in map coordinates.

◆ roundaboutState

- (CartoTypeRoundaboutState) roundaboutState
readwritenonatomicassign

The roundabout state.

◆ time

- (double) time
readwritenonatomicassign

The estimated time in seconds from the current position to the turn or the arrival point.

◆ toName

- (NSString*) toName
readwritenonatomicstrong

The name of the road after the turn.

◆ toRef

- (NSString*) toRef
readwritenonatomicstrong

The reference code (e.g., B4009) of the road after the turn.

◆ toRouteInfo

- (CartoTypeFeatureInfo*) toRouteInfo
readwritenonatomicassign

The road type of the road after the turn.

◆ turnAngle

- (double) turnAngle
readwritenonatomicassign

The turn angle: 0 = straight ahead; negative = left, positive = right.

◆ turnType

- (CartoTypeTurnType) turnType
readwritenonatomicassign

The turn type: ahead, left, right, etc.


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