Class YMKDrivingDrivingOptions

Driving options.

Class Methods

Properties

alternativeCount

The number of alternatives.

avoidTolls

The 'avoidTolls' option instructs the router to return routes that avoid tolls, when possible.

initialAzimuth

Starting location azimuth.

offlineHandicap

The maximum time a user waits for the online route if the offline route is ready.

Method Detail

+drivingOptionsWithInitialAzimuth:alternativeCount:offlineHandicap:avoidTolls:

+ (nonnull YMKDrivingDrivingOptions *)drivingOptionsWithInitialAzimuth:(nullable NSNumber *)initialAzimuth
                                                      alternativeCount:(nullable NSNumber *)alternativeCount
                                                       offlineHandicap:(nullable NSNumber *)offlineHandicap
                                                            avoidTolls:(nullable NSNumber *)avoidTolls 

Property Detail

alternativeCount

(copy, readwrite) NSNumber * alternativeCount

The number of alternatives.

Optional property, can be null.

avoidTolls

(copy, readwrite) NSNumber * avoidTolls

The 'avoidTolls' option instructs the router to return routes that avoid tolls, when possible.

Optional property, can be null.

initialAzimuth

(copy, readwrite) NSNumber * initialAzimuth

Starting location azimuth.

Optional property, can be null.

offlineHandicap

(copy, readwrite) NSNumber * offlineHandicap

The maximum time a user waits for the online route if the offline route is ready.

Optional property, can be null.