CartoType iOS API 7.8.2, 2022-03-25
for development in Swift and Objective C for iOS and Mac OS
|
#import <CartoTypeRouter.h>
Properties | |
CartoTypeTurnType | turnType |
bool | isContinue |
CartoTypeRoundaboutState | roundaboutState |
double | turnAngle |
int | exitNumber |
double | distance |
double | time |
NSString * | fromName |
NSString * | fromRef |
CartoTypeRoadType | fromRoadType |
NSString * | toName |
NSString * | toRef |
CartoTypeRoadType | toRoadType |
CartoTypePoint | position |
NSString * | instructions |
Information about a turn from one route segment to another.
|
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.
|
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.