Warning

This feature is available in the Full MapKit SDK version

YMKDrivingFlags

class YMKDrivingFlags : NSObject

Overall characteristics of the route.

Summary

Class methods

 init(blocked: Bool,
   hasFerries: Bool,
     hasTolls: Bool,
 requiresAccessPass: Bool,
   forParking: Bool,
 futureBlocked: Bool,
      deadJam: Bool,
 builtOffline: Bool,
    predicted: Bool,
 hasRuggedRoads: Bool,
 hasFordCrossing: Bool,
 hasVehicleRestrictions: Bool,
 hasUnpavedRoads: Bool,
 hasInPoorConditionRoads: Bool,
 hasRailwayCrossing: Bool,
 hasCheckpoints: Bool,
 scheduledDeparture: Bool,
 hasNonTransactionalTolls: Bool)

Properties

var blocked: Bool { get }
Route is blocked

var hasFerries: Bool { get }
Route has ferries on it

var hasTolls: Bool { get }
Route has toll posts, which are always paid

var requiresAccessPass: Bool { get }
Route requires special access

var forParking: Bool { get }
Route is made for parking

var futureBlocked: Bool { get }
Route will be blocked soon

var deadJam: Bool { get }
Route has a severe traffic jam

var builtOffline: Bool { get }
Route was built by using offline data

var predicted: Bool { get }
Predicted optimal route

var hasRuggedRoads: Bool { get }
Route has rugged roads on it

var hasFordCrossing: Bool { get }
Route has ford crossing on it

var hasVehicleRestrictions: Bool { get }
Route has vehicle restrictions on it

var hasUnpavedRoads: Bool { get }
Route has unpaved roads on it

var hasInPoorConditionRoads: Bool { get }
Route has poor condition roads on it

var hasRailwayCrossing: Bool { get }
Route has railway crossing on it

var hasCheckpoints: Bool { get }
Route has checkpoints on it

var scheduledDeparture: Bool { get }
Route was requested with custom departure time

var hasNonTransactionalTolls: Bool { get }
Route has conditionally-toll-free toll posts

Class methods

init(blocked:hasFerries:hasTolls:requiresAccessPass:forParking:futureBlocked:deadJam:builtOffline:predicted:hasRuggedRoads:hasFordCrossing:hasVehicleRestrictions:hasUnpavedRoads:hasInPoorConditionRoads:hasRailwayCrossing:hasCheckpoints:scheduledDeparture:hasNonTransactionalTolls:)

 init(blocked: Bool,
   hasFerries: Bool,
     hasTolls: Bool,
 requiresAccessPass: Bool,
   forParking: Bool,
 futureBlocked: Bool,
      deadJam: Bool,
 builtOffline: Bool,
    predicted: Bool,
 hasRuggedRoads: Bool,
 hasFordCrossing: Bool,
 hasVehicleRestrictions: Bool,
 hasUnpavedRoads: Bool,
 hasInPoorConditionRoads: Bool,
 hasRailwayCrossing: Bool,
 hasCheckpoints: Bool,
 scheduledDeparture: Bool,
 hasNonTransactionalTolls: Bool)


Properties

blocked

var blocked: Bool { get }

Route is blocked.


hasFerries

var hasFerries: Bool { get }

Route has ferries on it.


hasTolls

var hasTolls: Bool { get }

Route has toll posts, which are always paid.


requiresAccessPass

var requiresAccessPass: Bool { get }

Route requires special access.


forParking

var forParking: Bool { get }

Route is made for parking.


futureBlocked

var futureBlocked: Bool { get }

Route will be blocked soon.


deadJam

var deadJam: Bool { get }

Route has a severe traffic jam.


builtOffline

var builtOffline: Bool { get }

Route was built by using offline data.


predicted

var predicted: Bool { get }

Predicted optimal route.


hasRuggedRoads

var hasRuggedRoads: Bool { get }

Route has rugged roads on it.


hasFordCrossing

var hasFordCrossing: Bool { get }

Route has ford crossing on it.


hasVehicleRestrictions

var hasVehicleRestrictions: Bool { get }

Route has vehicle restrictions on it.


hasUnpavedRoads

var hasUnpavedRoads: Bool { get }

Route has unpaved roads on it.


hasInPoorConditionRoads

var hasInPoorConditionRoads: Bool { get }

Route has poor condition roads on it.


hasRailwayCrossing

var hasRailwayCrossing: Bool { get }

Route has railway crossing on it.


hasCheckpoints

var hasCheckpoints: Bool { get }

Route has checkpoints on it.


scheduledDeparture

var scheduledDeparture: Bool { get }

Route was requested with custom departure time.


hasNonTransactionalTolls

var hasNonTransactionalTolls: Bool { get }

Route has conditionally-toll-free toll posts