CartoType iOS API 8.8-13-g03c6f7017
for development in Swift and Objective C for iOS and Mac OS
|
#import <CartoTypeRouter.h>
Properties | |
CartoTypeFeatureInfo * | featureInfo |
double | maxSpeed |
NSString * | name |
NSString * | ref |
CartoTypePoint | nearestPoint |
double | distance |
double | headingInDegrees |
CartoTypePoint | headingVector |
CartoTypeSideOfRoad | sideOfRoad |
Information about the nearest road to a point.
|
readwritenonatomicassign |
The distance from the chosen point to the nearest point in meters.
|
readwritenonatomicstrong |
The road type of the arc.
|
readwritenonatomicassign |
The heading of the nearest segment in degrees.
|
readwritenonatomicassign |
The heading of the nearest segment as a unit vector.
|
readwritenonatomicassign |
The maximum legal speed in kilometres per hour. A value of zero means there is no known speed limit, or the standard speed limit for the type of road applies.
|
readwritenonatomicstrong |
The standard name of the road.
|
readwritenonatomicassign |
The nearest point on the road, in map coordinates, to the chosen point.
|
readwritenonatomicstrong |
The road reference of the road.
|
readwritenonatomicassign |
The side of the road on which the selected point lies, or SideOfRoadNone if the vehicle heading is not supplied. It is Left if the heading vector is left of a vector from the chosen point to the nearest point on the road, otherwise Right. Another way to understand it is: if the road as seen by the driver of the vehicle is to the left, the side of the road is Right, and vice versa.