TKDirectionAvoidOption
enum TKDirectionAvoidOption {}
An enum indicating options to fine-tune transport options. Only useful with Car mode.
-
No avoid options. Default.
Declaration
Objective-C
TKDirectionAvoidOptionNone = (0)
-
A bit indicating an option to avoid Tolls.
Declaration
Objective-C
TKDirectionAvoidOptionTolls = (1 << 0)
Swift
static var tolls: TKDirectionAvoidOption { get }
-
A bit indicating an option to avoid Highways.
Declaration
Objective-C
TKDirectionAvoidOptionHighways = (1 << 1)
Swift
static var highways: TKDirectionAvoidOption { get }
-
A bit indicating an option to avoid Ferries.
Declaration
Objective-C
TKDirectionAvoidOptionFerries = (1 << 2)
Swift
static var ferries: TKDirectionAvoidOption { get }
-
A bit indicating an option to avoid Unpaved paths.
Declaration
Objective-C
TKDirectionAvoidOptionUnpaved = (1 << 3)
Swift
static var unpaved: TKDirectionAvoidOption { get }