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,
        action: NSNumber?,
      landmark: NSNumber?,
       toponym: MMKMasstransitToponym?)

Properties

var positionMMKPolylinePosition { get }
Position of annotation on part of route

var action: NSNumber? { get }
Action

Optional field, can be nil

var landmark: NSNumber? { get }
Landmark

Optional field, can be nil

var toponymMMKMasstransitToponym? { get }
The toponym of the location

Class methods

init(position:action:landmark:toponym:)

 init(position: MMKPolylinePosition,
        action: NSNumber?,
      landmark: NSNumber?,
       toponym: MMKMasstransitToponym?)


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.