Warning

This feature is available in the Full MapKit SDK version

MMKDrivingRouteMetadata

@interface MMKDrivingRouteMetadata : NSObject <MMKBaseMetadata>

Information about driving route metadata.

Summary

Class methods

+ (nonnull MMKDrivingRouteMetadata *)routeMetadataWithWeight:(nonnull MMKDrivingWeight *)weight
                                                       flags:(nonnull MMKDrivingFlags *)flags
                                                 routePoints:(nonnull NSArray<MMKDrivingRoutePoint *> *)routePoints
                                                         uri:(nullable NSString *)uri
                                          nonAvoidedFeatures:(nullable MMKDrivingNonAvoidedFeatures *)nonAvoidedFeatures;

Properties

@property (nonatomic, readonly, nonnull) MMKDrivingWeight *weight;
Route "weight"

@property (nonatomic, readonly, nonnull) MMKDrivingFlags *flags;
Overall route characteristics

@property (nonatomic, readonly, nonnull)
    NSArray<MMKDrivingRoutePoint *> *routePoints;

Route points

@property (nonatomic, readonly, nullable) NSString *uri;
Route URI

Optional field, can be nil

@property (nonatomic, readonly, nullable)
    MMKDrivingNonAvoidedFeatures *nonAvoidedFeatures;

Route features that cannot be avoided

Optional field, can be nil

Class methods

routeMetadataWithWeight:flags:routePoints:uri:nonAvoidedFeatures:

+ (nonnull MMKDrivingRouteMetadata *)routeMetadataWithWeight:(nonnull MMKDrivingWeight *)weight
                                                       flags:(nonnull MMKDrivingFlags *)flags
                                                 routePoints:(nonnull NSArray<MMKDrivingRoutePoint *> *)routePoints
                                                         uri:(nullable NSString *)uri
                                          nonAvoidedFeatures:(nullable MMKDrivingNonAvoidedFeatures *)nonAvoidedFeatures;


Properties

weight

@property (nonatomic, readonly, nonnull) MMKDrivingWeight *weight;

Route "weight".


flags

@property (nonatomic, readonly, nonnull) MMKDrivingFlags *flags;

Overall route characteristics.


routePoints

@property (nonatomic, readonly, nonnull)
    NSArray<MMKDrivingRoutePoint *> *routePoints;

Route points. In addition to point coordinates each route point may have a selected arrival point


uri

@property (nonatomic, readonly, nullable) NSString *uri;

Route URI

Optional field, can be nil.


nonAvoidedFeatures

@property (nonatomic, readonly, nullable)
    MMKDrivingNonAvoidedFeatures *nonAvoidedFeatures;

Route features that cannot be avoided

Optional field, can be nil.