|
CartoType iOS API 9.2-12-g6c2dcf66f
for development in Swift and Objective C for iOS and Mac OS
|
#import <CartoTypeRouter.h>
Properties | |
| CtTurnType | turnType |
| bool | isContinue |
| CtRoundaboutState | roundaboutState |
| double | turnAngle |
| int | exitNumber |
| double | distance |
| double | time |
| NSString * | fromName |
| NSString * | fromRef |
| CtFeatureInfo * | fromRouteInfo |
| NSString * | toName |
| NSString * | toRef |
| CtFeatureInfo * | toRouteInfo |
| NSString * | destination |
| CtPoint | position |
| NSString * | instructions |
| int | index |
Information about a turn from one route segment to another.
|
readwritenonatomicstrong |
The destination of the road after the turn.
|
readwritenonatomicassign |
The distance in meters from the current position to the turn or the arrival point.
|
readwritenonatomicassign |
The junction to take, counting the current junction as 0, if this junction is part of a roundabout.
|
readwritenonatomicstrong |
The name of the road before the turn.
|
readwritenonatomicstrong |
The reference code (e.g., B4009) of the road before the turn.
|
readwritenonatomicassign |
The road type of the road before the turn.
|
readwritenonatomicassign |
The index of the turn, which is unique within a route. Used to avoid duplication when issuing voice instructions.
|
readwritenonatomicstrong |
Instructions for the turn in the language of the current locale.
|
readwritenonatomicassign |
True if this turn is a continuation of the current road and no notification is needed.
|
readwritenonatomicassign |
The position of the turn in map coordinates.
|
readwritenonatomicassign |
The roundabout state.
|
readwritenonatomicassign |
The estimated time in seconds from the current position to the turn or the arrival point.
|
readwritenonatomicstrong |
The name of the road after the turn.
|
readwritenonatomicstrong |
The reference code (e.g., B4009) of the road after the turn.
|
readwritenonatomicassign |
The road type of the road after the turn.
|
readwritenonatomicassign |
The turn angle: 0 = straight ahead; negative = left, positive = right.
|
readwritenonatomicassign |
The turn type: ahead, left, right, etc.