MapKit Mobile SDK

Warning

This feature is available in the Full MapKit SDK version

MMKDrivingOptions

class MMKDrivingOptions : NSObject

Driving options.

Summary

Class methods

 init(initialAzimuth: NSNumber?,
         routesCount: NSNumber?,
          avoidTolls: NSNumber?,
        avoidUnpaved: NSNumber?,
 avoidPoorConditions: NSNumber?,
       departureTime: Date?,
  annotationLanguage: NSNumber?)

Properties

@NSCopying var initialAzimuth: NSNumber? { get set }
Starting location azimuth

@NSCopying var routesCount: NSNumber? { get set }
The number of alternatives

@NSCopying var avoidTolls: NSNumber? { get set }
The 'avoidTolls' option instructs the router to return routes that avoid tolls when possible

@NSCopying var avoidUnpaved: NSNumber? { get set }
The 'avoidUnpaved' option instructs the router to return routes that avoid unpaved roads when possible

@NSCopying var avoidPoorConditions: NSNumber? { get set }
The 'avoidPoorConditions' option instructs the router to return routes that avoid roads in poor conditions when possible

var departureTime: Date? { get set }
Optional field, can be nil

@NSCopying var annotationLanguage: NSNumber? { get set }
A method to set the annotation language

Class methods

init(initialAzimuth:routesCount:avoidTolls:avoidUnpaved:avoidPoorConditions:departureTime:annotationLanguage:)

 init(initialAzimuth: NSNumber?,
         routesCount: NSNumber?,
          avoidTolls: NSNumber?,
        avoidUnpaved: NSNumber?,
 avoidPoorConditions: NSNumber?,
       departureTime: Date?,
  annotationLanguage: 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.