MMKDrivingAvoidanceFlags

Warning

This feature is available in the Full MapKit SDK version

class MMKDrivingAvoidanceFlags : NSObject

Summary

Class methods

 init(avoidTolls: Bool,
    avoidUnpaved: Bool,
 avoidPoorCondition: Bool,
 avoidRailwayCrossing: Bool,
  avoidBoatFerry: Bool,
 avoidFordCrossing: Bool,
     avoidTunnel: Bool,
    avoidHighway: Bool)

Instance methods

init()

Properties

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

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

var avoidPoorCondition: Bool { get set }
The 'avoidPoorCondition' option instructs the router to return routes that avoid roads in poor conditions when possible

var avoidRailwayCrossing: Bool { get set }
The 'avoidPoorConditions' option instructs the router to return routes that avoid railway crossings when possible

var avoidBoatFerry: Bool { get set }
The 'avoidBoatFerry' option instructs the router to return routes that avoid ferries when possible

var avoidFordCrossing: Bool { get set }
The 'avoidFordCrossing' option instructs the router to return routes that avoid ford crossings when possible

var avoidTunnel: Bool { get set }
The 'avoidTunnel' option instructs the router to return routes that avoid tunnels when possible

var avoidHighway: Bool { get set }
The 'avoidHighway' option instructs the router to return routes that avoid highways when possible

Class methods

init(avoidTolls:avoidUnpaved:avoidPoorCondition:avoidRailwayCrossing:avoidBoatFerry:avoidFordCrossing:avoidTunnel:avoidHighway:)

 init(avoidTolls: Bool,
    avoidUnpaved: Bool,
 avoidPoorCondition: Bool,
 avoidRailwayCrossing: Bool,
  avoidBoatFerry: Bool,
 avoidFordCrossing: Bool,
     avoidTunnel: Bool,
    avoidHighway: Bool)


Instance methods

init()

init()


Properties

avoidTolls

var avoidTolls: Bool { get set }

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


avoidUnpaved

var avoidUnpaved: Bool { get set }

The 'avoidUnpaved' option instructs the router to return routes that avoid unpaved roads when possible.


avoidPoorCondition

var avoidPoorCondition: Bool { get set }

The 'avoidPoorCondition' option instructs the router to return routes that avoid roads in poor conditions when possible.


avoidRailwayCrossing

var avoidRailwayCrossing: Bool { get set }

The 'avoidPoorConditions' option instructs the router to return routes that avoid railway crossings when possible.


avoidBoatFerry

var avoidBoatFerry: Bool { get set }

The 'avoidBoatFerry' option instructs the router to return routes that avoid ferries when possible.


avoidFordCrossing

var avoidFordCrossing: Bool { get set }

The 'avoidFordCrossing' option instructs the router to return routes that avoid ford crossings when possible.


avoidTunnel

var avoidTunnel: Bool { get set }

The 'avoidTunnel' option instructs the router to return routes that avoid tunnels when possible.


avoidHighway

var avoidHighway: Bool { get set }

The 'avoidHighway' option instructs the router to return routes that avoid highways when possible.