Warning
This feature is available in the Full MapKit SDK version
MMKDrivingOptions
class MMKDrivingOptions : NSObject |
Driving options.
Summary
Class methods
init(initialAzimuth: NSNumber?, |
Properties
@NSCopying var initialAzimuth: NSNumber? { get set } |
@NSCopying var routesCount: NSNumber? { get set } |
@NSCopying var avoidTolls: NSNumber? { get set } |
@NSCopying var avoidUnpaved: NSNumber? { get set } |
@NSCopying var avoidPoorConditions: NSNumber? { get set } |
var departureTime: Date? { get set } |
@NSCopying var annotationLanguage: NSNumber? { get set } |
Class methods
init(initialAzimuth:routesCount:avoidTolls:avoidUnpaved:avoidPoorConditions:departureTime:annotationLanguage:)
init(initialAzimuth: NSNumber?, |
Properties
initialAzimuth
@NSCopying var initialAzimuth: NSNumber? { get set } |
Starting location azimuth.
Optional field, can be nil.
routesCount
@NSCopying var routesCount: NSNumber? { get set } |
The number of alternatives.
Optional field, can be nil.
avoidTolls
@NSCopying var avoidTolls: NSNumber? { get set } |
The 'avoidTolls' option instructs the router to return routes that avoid tolls when possible.
Optional field, can be nil.
avoidUnpaved
@NSCopying var avoidUnpaved: NSNumber? { get set } |
The 'avoidUnpaved' option instructs the router to return routes that avoid unpaved roads when possible.
Optional field, can be nil.
avoidPoorConditions
@NSCopying var avoidPoorConditions: NSNumber? { get set } |
The 'avoidPoorConditions' option instructs the router to return routes that avoid roads in poor conditions when possible.
Optional field, can be nil.
departureTime
var departureTime: Date? { get set } |
Optional field, can be nil.
annotationLanguage
@NSCopying var annotationLanguage: NSNumber? { get set } |
A method to set the annotation language. lang The annotation language.
Optional field, can be nil.