MMKDrivingRouteMetadata

Warning

This feature is available in the Full MapKit SDK version

class MMKDrivingRouteMetadata : NSObject, MMKBaseMetadata

Information about driving route metadata.

Summary

Class methods

 init(weight: MMKDrivingWeight,
       flags: MMKDrivingFlags,
 routePoints: [MMKDrivingRoutePoint],
         uri: String?,
 nonAvoidedFeatures: MMKDrivingNonAvoidedFeatures?)

Properties

var weightMMKDrivingWeight { get }
Route "weight"

var flagsMMKDrivingFlags { get }
Overall route characteristics

var routePoints: [MMKDrivingRoutePoint] { get }
Route points

var uri: String? { get }
Route URI

Optional field, can be nil

var nonAvoidedFeaturesMMKDrivingNonAvoidedFeatures? { get }
Route features that cannot be avoided

Optional field, can be nil

Class methods

init(weight:flags:routePoints:uri:nonAvoidedFeatures:)

 init(weight: MMKDrivingWeight,
       flags: MMKDrivingFlags,
 routePoints: [MMKDrivingRoutePoint],
         uri: String?,
 nonAvoidedFeatures: MMKDrivingNonAvoidedFeatures?)


Properties

weight

var weight: MMKDrivingWeight { get }

Route "weight".


flags

var flags: MMKDrivingFlags { get }

Overall route characteristics.


routePoints

var routePoints: [MMKDrivingRoutePoint] { get }

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


uri

var uri: String? { get }

Route URI

Optional field, can be nil.


nonAvoidedFeatures

var nonAvoidedFeatures: MMKDrivingNonAvoidedFeatures? { get }

Route features that cannot be avoided

Optional field, can be nil.