Warning
This feature is available in the Full MapKit SDK version
MMKMasstransitAnnotation
class MMKMasstransitAnnotation : NSObject |
Contains info about actions on part of route. Either action
or landmark
should be non-empty.
Summary
Class methods
init(position: MMKPolylinePosition, |
Properties
var position: MMKPolylinePosition { get } |
var action: NSNumber? { get } Optional field, can be nil |
var landmark: NSNumber? { get } Optional field, can be nil |
var toponym: MMKMasstransitToponym? { get } |
Class methods
init(position:action:landmark:toponym:)
init(position: MMKPolylinePosition, |
Properties
position
var position: MMKPolylinePosition { get } |
Position of annotation on part of route
action
var action: NSNumber? { get } |
Action
Optional field, can be nil.
landmark
var landmark: NSNumber? { get } |
Landmark
Optional field, can be nil.
toponym
var toponym: MMKMasstransitToponym? { get } |
The toponym of the location.
Optional field, can be nil.