MMKDrivingOptions
Warning
This feature is available in the Full MapKit SDK version
@interface MMKDrivingOptions : NSObject |
Driving options.
Summary
Class methods
+ (nonnull MMKDrivingOptions *)drivingOptionsWithInitialAzimuth:(nullable NSNumber *)initialAzimuth |
Properties
@property (nonatomic, copy, readwrite, nullable) NSNumber *initialAzimuth; |
@property (nonatomic, copy, readwrite, nullable) NSNumber *routesCount; |
@property (nonatomic, copy, readwrite, nullable) NSDate *departureTime; |
@property (nonatomic, copy, readwrite, nullable) NSNumber *annotationLanguage; |
@property (nonatomic, strong, readwrite, nullable) |
Class methods
drivingOptionsWithInitialAzimuth:routesCount:departureTime:annotationLanguage:avoidanceFlags:
+ (nonnull MMKDrivingOptions *)drivingOptionsWithInitialAzimuth:(nullable NSNumber *)initialAzimuth |
Properties
initialAzimuth
@property (nonatomic, copy, readwrite, nullable) NSNumber *initialAzimuth; |
Starting location azimuth.
Optional field, can be nil.
routesCount
@property (nonatomic, copy, readwrite, nullable) NSNumber *routesCount; |
The number of alternatives.
Optional field, can be nil.
departureTime
@property (nonatomic, copy, readwrite, nullable) NSDate *departureTime; |
Optional field, can be nil.
annotationLanguage
@property (nonatomic, copy, readwrite, nullable) NSNumber *annotationLanguage; |
A method to set the annotation language. lang The annotation language.
Optional field, can be nil.
avoidanceFlags
@property (nonatomic, strong, readwrite, nullable) |
The 'avoidanceFlags' instruct the router to return routes that avoid roads with the specified properties when possible.
Optional field, can be nil.