MMKDrivingAnnotation
Warning
This feature is available in the Full MapKit SDK version
|
@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, nullable) |
|
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *landmarks; |
|
@property (nonatomic, readonly, nonnull) |
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, nullable) |
Action metadata.
Optional field, can be nil.
landmarks
|
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *landmarks; |
Significant landmarks.
toponymPhrase
|
@property (nonatomic, readonly, nonnull) |
Toponym phrases with positions for pronunciation.