Warning
This feature is available in the Full MapKit SDK version
MMKDrivingFlags
@interface MMKDrivingFlags : NSObject |
Overall characteristics of the route.
Summary
Class methods
+ (nonnull MMKDrivingFlags *)flagsWithBlocked:( BOOL)blocked |
Properties
@property (nonatomic, readonly) BOOL blocked; |
@property (nonatomic, readonly) BOOL hasFerries; |
@property (nonatomic, readonly) BOOL hasTolls; |
@property (nonatomic, readonly) BOOL requiresAccessPass; |
@property (nonatomic, readonly) BOOL forParking; |
@property (nonatomic, readonly) BOOL futureBlocked; |
@property (nonatomic, readonly) BOOL deadJam; |
@property (nonatomic, readonly) BOOL builtOffline; |
@property (nonatomic, readonly) BOOL predicted; |
@property (nonatomic, readonly) BOOL hasRuggedRoads; |
@property (nonatomic, readonly) BOOL hasFordCrossing; |
@property (nonatomic, readonly) BOOL hasVehicleRestrictions; |
@property (nonatomic, readonly) BOOL hasUnpavedRoads; |
@property (nonatomic, readonly) BOOL hasInPoorConditionRoads; |
@property (nonatomic, readonly) BOOL hasRailwayCrossing; |
@property (nonatomic, readonly) BOOL hasCheckpoints; |
@property (nonatomic, readonly) BOOL scheduledDeparture; |
@property (nonatomic, readonly) BOOL hasNonTransactionalTolls; |
@property (nonatomic, readonly) BOOL hasTunnels; |
@property (nonatomic, readonly) BOOL hasHighways; |
Class methods
flagsWithBlocked:hasFerries:hasTolls:requiresAccessPass:forParking:futureBlocked:deadJam:builtOffline:predicted:hasRuggedRoads:hasFordCrossing:hasVehicleRestrictions:hasUnpavedRoads:hasInPoorConditionRoads:hasRailwayCrossing:hasCheckpoints:scheduledDeparture:hasNonTransactionalTolls:hasTunnels:hasHighways:
+ (nonnull MMKDrivingFlags *)flagsWithBlocked:( BOOL)blocked |
Properties
blocked
@property (nonatomic, readonly) BOOL blocked; |
Route is blocked.
hasFerries
@property (nonatomic, readonly) BOOL hasFerries; |
Route has ferries on it.
hasTolls
@property (nonatomic, readonly) BOOL hasTolls; |
Route has toll posts, which are always paid.
requiresAccessPass
@property (nonatomic, readonly) BOOL requiresAccessPass; |
Route requires special access.
forParking
@property (nonatomic, readonly) BOOL forParking; |
Route is made for parking.
futureBlocked
@property (nonatomic, readonly) BOOL futureBlocked; |
Route will be blocked soon.
deadJam
@property (nonatomic, readonly) BOOL deadJam; |
Route has a severe traffic jam.
builtOffline
@property (nonatomic, readonly) BOOL builtOffline; |
Route was built by using offline data.
predicted
@property (nonatomic, readonly) BOOL predicted; |
Predicted optimal route.
hasRuggedRoads
@property (nonatomic, readonly) BOOL hasRuggedRoads; |
Route has rugged roads on it.
hasFordCrossing
@property (nonatomic, readonly) BOOL hasFordCrossing; |
Route has ford crossing on it.
hasVehicleRestrictions
@property (nonatomic, readonly) BOOL hasVehicleRestrictions; |
Route has vehicle restrictions on it.
hasUnpavedRoads
@property (nonatomic, readonly) BOOL hasUnpavedRoads; |
Route has unpaved roads on it.
hasInPoorConditionRoads
@property (nonatomic, readonly) BOOL hasInPoorConditionRoads; |
Route has poor condition roads on it.
hasRailwayCrossing
@property (nonatomic, readonly) BOOL hasRailwayCrossing; |
Route has railway crossing on it.
hasCheckpoints
@property (nonatomic, readonly) BOOL hasCheckpoints; |
Route has checkpoints on it.
scheduledDeparture
@property (nonatomic, readonly) BOOL scheduledDeparture; |
Route was requested with custom departure time.
hasNonTransactionalTolls
@property (nonatomic, readonly) BOOL hasNonTransactionalTolls; |
Route has conditionally-toll-free toll posts
hasTunnels
@property (nonatomic, readonly) BOOL hasTunnels; |
Route has tunnels on it.
hasHighways
@property (nonatomic, readonly) BOOL hasHighways; |
Route has highways on it.