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?,
     toponym: String?,
 descriptionText: String,
 actionMetadata: MMKDrivingActionMetadata,
   landmarks: [NSNumber],
 toponymPhrase: MMKDrivingToponymPhrase?)

Properties

var action: NSNumber? { get }
Driver action

var toponym: String? { get }
The toponym of the location

var descriptionText: String { get }
Description text to display

var actionMetadataMMKDrivingActionMetadata { get }
Action metadata

var landmarks: [NSNumber] { get }
Significant landmarks

var toponymPhraseMMKDrivingToponymPhrase? { get }
The description of the object

Class methods

init(action:toponym:descriptionText:actionMetadata:landmarks:toponymPhrase:)

 init(action: NSNumber?,
     toponym: String?,
 descriptionText: String,
 actionMetadata: MMKDrivingActionMetadata,
   landmarks: [NSNumber],
 toponymPhrase: MMKDrivingToponymPhrase?)


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.