Warning
This feature is available in the Full MapKit SDK version
MMKDrivingAnnotation
@interface MMKDrivingAnnotation : NSObject |
The annotation that is displayed on the map.
Summary
Class methods
+ (nonnull MMKDrivingAnnotation *)annotationWithAction:(nullable NSNumber *)action |
Properties
@property (nonatomic, readonly, nullable) NSNumber *action; |
@property (nonatomic, readonly, nullable) NSString *toponym; |
@property (nonatomic, readonly, nonnull) NSString *descriptionText; |
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *landmarks; |
@property (nonatomic, readonly, nullable) MMKDrivingToponymPhrase *toponymPhrase; |
Class methods
annotationWithAction:toponym:descriptionText:actionMetadata:landmarks:toponymPhrase:
+ (nonnull MMKDrivingAnnotation *)annotationWithAction:(nullable NSNumber *)action |
Properties
action
@property (nonatomic, readonly, nullable) NSNumber *action; |
Driver action.
Optional field, can be nil.
toponym
@property (nonatomic, readonly, nullable) NSString *toponym; |
The toponym of the location.
Optional field, can be nil.
descriptionText
@property (nonatomic, readonly, nonnull) NSString *descriptionText; |
Description text to display.
actionMetadata
@property (nonatomic, readonly, nonnull) |
Action metadata.
landmarks
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *landmarks; |
Significant landmarks.
toponymPhrase
@property (nonatomic, readonly, nullable) MMKDrivingToponymPhrase *toponymPhrase; |
The description of the object.
Optional field, can be nil.