Warning
This feature is available in the Full MapKit SDK version
MMKMasstransitAnnotation
@interface MMKMasstransitAnnotation : NSObject |
Contains info about actions on part of route. Either action
or landmark
should be non-empty.
Summary
Class methods
+ (nonnull MMKMasstransitAnnotation *)annotationWithPosition:(nonnull MMKPolylinePosition *)position |
Properties
@property (nonatomic, readonly, nonnull) MMKPolylinePosition *position; |
@property (nonatomic, readonly, nullable) NSNumber *action; Optional field, can be nil |
@property (nonatomic, readonly, nullable) NSNumber *landmark; Optional field, can be nil |
@property (nonatomic, readonly, nullable) MMKMasstransitToponym *toponym; |
Class methods
annotationWithPosition:action:landmark:toponym:
+ (nonnull MMKMasstransitAnnotation *)annotationWithPosition:(nonnull MMKPolylinePosition *)position |
Properties
position
@property (nonatomic, readonly, nonnull) MMKPolylinePosition *position; |
Position of annotation on part of route
action
@property (nonatomic, readonly, nullable) NSNumber *action; |
Action
Optional field, can be nil.
landmark
@property (nonatomic, readonly, nullable) NSNumber *landmark; |
Landmark
Optional field, can be nil.
toponym
@property (nonatomic, readonly, nullable) MMKMasstransitToponym *toponym; |
The toponym of the location.
Optional field, can be nil.