Warning
This feature is available in the Full MapKit SDK version
MMKDrivingOptions
@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) NSNumber *avoidTolls; |
@property (nonatomic, copy, readwrite, nullable) NSNumber *avoidUnpaved; |
@property (nonatomic, copy, readwrite, nullable) NSNumber *avoidPoorConditions; |
@property (nonatomic, copy, readwrite, nullable) NSDate *departureTime; |
@property (nonatomic, copy, readwrite, nullable) NSNumber *annotationLanguage; |
Class methods
drivingOptionsWithInitialAzimuth:routesCount:avoidTolls:avoidUnpaved:avoidPoorConditions:departureTime:annotationLanguage:
+ (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.
avoidTolls
@property (nonatomic, copy, readwrite, nullable) NSNumber *avoidTolls; |
The 'avoidTolls' option instructs the router to return routes that avoid tolls when possible.
Optional field, can be nil.
avoidUnpaved
@property (nonatomic, copy, readwrite, nullable) NSNumber *avoidUnpaved; |
The 'avoidUnpaved' option instructs the router to return routes that avoid unpaved roads when possible.
Optional field, can be nil.
avoidPoorConditions
@property (nonatomic, copy, readwrite, nullable) NSNumber *avoidPoorConditions; |
The 'avoidPoorConditions' option instructs the router to return routes that avoid roads in poor conditions when possible.
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.