Warning
This feature is available in the Full MapKit SDK version
MMKDrivingAnnotation
class MMKDrivingAnnotation : NSObject |
The annotation that is displayed on the map.
Summary
Class methods
init(action: NSNumber?, |
Properties
var action: NSNumber? { get } |
var toponym: String? { get } |
var descriptionText: String { get } |
var actionMetadata: MMKDrivingActionMetadata { get } |
var landmarks: [NSNumber] { get } |
var toponymPhrase: MMKDrivingToponymPhrase? { get } |
Class methods
init(action:toponym:descriptionText:actionMetadata:landmarks:toponymPhrase:)
init(action: NSNumber?, |
Properties
action
var action: NSNumber? { get } |
Driver action.
Optional field, can be nil.
toponym
var toponym: String? { get } |
The toponym of the location.
Optional field, can be nil.
descriptionText
var descriptionText: String { get } |
Description text to display.
actionMetadata
var actionMetadata: MMKDrivingActionMetadata { get } |
Action metadata.
landmarks
var landmarks: [NSNumber] { get } |
Significant landmarks.
toponymPhrase
var toponymPhrase: MMKDrivingToponymPhrase? { get } |
The description of the object.
Optional field, can be nil.