MMKDrivingAvoidanceFlags

Warning

This feature is available in the Full MapKit SDK version

@interface MMKDrivingAvoidanceFlags : NSObject

Summary

Class methods

+ (nonnull MMKDrivingAvoidanceFlags *)avoidanceFlagsWithAvoidTolls:( BOOL)avoidTolls
                                                      avoidUnpaved:( BOOL)avoidUnpaved
                                                avoidPoorCondition:( BOOL)avoidPoorCondition
                                              avoidRailwayCrossing:( BOOL)avoidRailwayCrossing
                                                    avoidBoatFerry:( BOOL)avoidBoatFerry
                                                 avoidFordCrossing:( BOOL)avoidFordCrossing
                                                       avoidTunnel:( BOOL)avoidTunnel
                                                      avoidHighway:( BOOL)avoidHighway;

Instance methods

- (nonnull MMKDrivingAvoidanceFlags *)init;

Properties

@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL avoidTolls;
The 'avoidTolls' option instructs the router to return routes that avoid tolls when possible

@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL avoidUnpaved;
The 'avoidUnpaved' option instructs the router to return routes that avoid unpaved roads when possible

@property (nonatomic, assign, unsafe_unretained, readwrite)
    BOOL avoidPoorCondition;

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

@property (nonatomic, assign, unsafe_unretained, readwrite)
    BOOL avoidRailwayCrossing;

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

@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL avoidBoatFerry;
The 'avoidBoatFerry' option instructs the router to return routes that avoid ferries when possible

@property (nonatomic, assign, unsafe_unretained, readwrite)
    BOOL avoidFordCrossing;

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

@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL avoidTunnel;
The 'avoidTunnel' option instructs the router to return routes that avoid tunnels when possible

@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL avoidHighway;
The 'avoidHighway' option instructs the router to return routes that avoid highways when possible

Class methods

avoidanceFlagsWithAvoidTolls:avoidUnpaved:avoidPoorCondition:avoidRailwayCrossing:avoidBoatFerry:avoidFordCrossing:avoidTunnel:avoidHighway:

+ (nonnull MMKDrivingAvoidanceFlags *)avoidanceFlagsWithAvoidTolls:( BOOL)avoidTolls
                                                      avoidUnpaved:( BOOL)avoidUnpaved
                                                avoidPoorCondition:( BOOL)avoidPoorCondition
                                              avoidRailwayCrossing:( BOOL)avoidRailwayCrossing
                                                    avoidBoatFerry:( BOOL)avoidBoatFerry
                                                 avoidFordCrossing:( BOOL)avoidFordCrossing
                                                       avoidTunnel:( BOOL)avoidTunnel
                                                      avoidHighway:( BOOL)avoidHighway;


Instance methods

init

- (nonnull MMKDrivingAvoidanceFlags *)init;


Properties

avoidTolls

@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL avoidTolls;

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


avoidUnpaved

@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL avoidUnpaved;

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


avoidPoorCondition

@property (nonatomic, assign, unsafe_unretained, readwrite)
    BOOL avoidPoorCondition;

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


avoidRailwayCrossing

@property (nonatomic, assign, unsafe_unretained, readwrite)
    BOOL avoidRailwayCrossing;

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


avoidBoatFerry

@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL avoidBoatFerry;

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


avoidFordCrossing

@property (nonatomic, assign, unsafe_unretained, readwrite)
    BOOL avoidFordCrossing;

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


avoidTunnel

@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL avoidTunnel;

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


avoidHighway

@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL avoidHighway;

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