MQRouteLeg
@interface MQRouteLeg : NSObject
An object that describes the specific segment of a route to a single destination
-
Features include speed limits
Declaration
Objective-C
@property (readonly, atomic, nonnull) MQFeatures *features;
Swift
var features: MQFeatures { get }
-
A list of maneuvers in the route leg
Declaration
Objective-C
@property (readonly, atomic, nonnull) NSArray<MQManeuver *> *maneuvers;
Swift
var maneuvers: [MQManeuver] { get }
-
Id of the route leg
Declaration
Objective-C
@property (readonly, atomic, nonnull) NSString *routeLegId;
Swift
var routeLegId: String { get }
-
Lenth of the route in meters
Declaration
Objective-C
@property (readonly, atomic) CLLocationDistance length;
Swift
var length: CLLocationDistance { get }
-
A list of navigation instructions. This is an amalgamation of prompts and maneuvers that can be easily shown as a list of instructions for navigation
Declaration
Objective-C
@property (readonly, atomic, nonnull) NSArray<MQInstruction *> *instructions;
Swift
var instructions: [MQInstruction] { get }