MQRoute
@interface MQRoute : NSObject
An object that describes the route provided from the MQNavigationManager
-
ID of route
Declaration
Objective-C
@property (readonly, atomic, nonnull) NSString *routeId;
Swift
var routeId: String { get }
-
An array of MQRouteLeg objects representing the route
Declaration
Objective-C
@property (readonly, atomic, nonnull) NSArray<MQRouteLeg *> *legs;
Swift
var legs: [MQRouteLeg] { get }
-
Route options used while getting route from the API
Declaration
Objective-C
@property (readonly, atomic, nonnull) MQRouteOptions *options;
Swift
var options: MQRouteOptions { get }
-
Starting location sent to the API to get the route
Declaration
Objective-C
@property (readonly, atomic, nonnull) CLLocation *startingLocation;
Swift
var startingLocation: CLLocation { get }
-
List of destination locations
Declaration
Objective-C
@property (readonly, atomic, nonnull) NSArray<id<MQRouteDestination>> *destinations;
Swift
var destinations: [MQRouteDestination] { get }
-
An overview of traffic in the route
Declaration
Objective-C
@property (readonly, atomic) MQTrafficOverview trafficOverview;
Swift
var trafficOverview: MQTrafficOverview { get }
-
A name for the route. A route might have a name if it was one of the alternate routes
Declaration
Objective-C
@property (readonly, atomic, nonnull) NSString *name;
Swift
var name: String { get }
-
Deprecated List of destination locations
Declaration
Objective-C
@property (readonly, atomic, nonnull) NSArray<CLLocation *> *destinationLocations;
Swift
var destinationLocations: [CLLocation] { get }