Warning
This feature is available in the Full MapKit SDK version
MMKMasstransitRouteMetadata
class MMKMasstransitRouteMetadata : NSObject, MMKBaseMetadata |
Contains information associated with a route constructed by the mass transit router.
Summary
Class methods
init(weight: MMKMasstransitWeight, |
Properties
var weight: MMKMasstransitWeight { get } |
var settings: MMKMasstransitRouteSettings? { get } |
var estimation: MMKMasstransitTravelEstimation? { get } |
var wayPoints: [MMKMasstransitWayPoint] { get } |
var routeId: String? { get } |
var flags: MMKMasstransitFlags? { get } Optional field, can be nil |
var comfortTags: [NSNumber] { get } |
Class methods
init(weight:settings:estimation:wayPoints:routeId:flags:comfortTags:)
init(weight: MMKMasstransitWeight, |
Properties
weight
var weight: MMKMasstransitWeight { get } |
Contains the route time, distance of the walking part, and the number of transfers.
settings
var settings: MMKMasstransitRouteSettings? { get } |
Route settings that were used by the mass transit router.
Optional field, can be nil.
estimation
var estimation: MMKMasstransitTravelEstimation? { get } |
Arrival and departure time estimations for time-dependent routes.
Optional field, can be nil.
wayPoints
var wayPoints: [MMKMasstransitWayPoint] { get } |
List of route waypoints. See MMKMasstransitWayPoint for details
routeId
var routeId: String? { get } |
Unique route id.
Optional field, can be nil.
flags
var flags: MMKMasstransitFlags? { get } |
Flags which contains route properties
Optional field, can be nil.
comfortTags
var comfortTags: [NSNumber] { get } |
Undocumented