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 | |
CartoTypeRoadType | roadType |
double | maxSpeed |
NSString * | name |
NSString * | ref |
CartoTypePoint | nearestPoint |
double | distance |
double | headingInDegrees |
CartoTypePoint | headingVector |
Information about the nearest road to a point.
|
readwritenonatomicassign |
The distance from the chosen point to the nearest point in meters.
|
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 road type of the arc.