Warning
This feature is available in the Full MapKit SDK version
YMKMasstransitAnnotation
@interface YMKMasstransitAnnotation : NSObject |
Contains info about actions on part of route. Either action
or landmark
should be non-empty.
Summary
Class methods
+ (nonnull YMKMasstransitAnnotation *)annotationWithPosition:(nonnull YMKPolylinePosition *)position |
Properties
@property (nonatomic, readonly, nonnull) YMKPolylinePosition *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) YMKMasstransitToponym *toponym; |
Class methods
annotationWithPosition:action:landmark:toponym:
+ (nonnull YMKMasstransitAnnotation *)annotationWithPosition:(nonnull YMKPolylinePosition *)position |
Properties
position
@property (nonatomic, readonly, nonnull) YMKPolylinePosition *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) YMKMasstransitToponym *toponym; |
The toponym of the location.
Optional field, can be nil.