Class YMKDrivingAnnotation

The annotation that is displayed on the map.

Class Methods

Properties

action

Driver action.

actionMetadata

Action metadata.

descriptionText

Description text to display.

landmarks

Significant landmarks.

toponym

The toponym of the location.

toponymPhrase

The description of the object.

Method Detail

+annotationWithAction:toponym:descriptionText:actionMetadata:landmarks:toponymPhrase:

+ (nonnull YMKDrivingAnnotation *)annotationWithAction:(nullable NSNumber *)action
                                               toponym:(nullable NSString *)toponym
                                       descriptionText:(nonnull NSString *)descriptionText
                                        actionMetadata:(nonnull YMKDrivingActionMetadata *)actionMetadata
                                             landmarks:(nonnull NSArray< NSNumber * > *)landmarks
                                         toponymPhrase:(nullable YMKDrivingToponymPhrase *)toponymPhrase 

Property Detail

action

(assign, readonly) NSNumber * action

Driver action.

Optional property, can be null.

actionMetadata

(assign, readonly) YMKDrivingActionMetadata * actionMetadata

Action metadata.

descriptionText

(assign, readonly) NSString * descriptionText

Description text to display.

landmarks

(assign, readonly) NSArray< NSNumber * > * landmarks

Significant landmarks.

toponym

(assign, readonly) NSString * toponym

The toponym of the location.

Optional property, can be null.

toponymPhrase

(assign, readonly) YMKDrivingToponymPhrase * toponymPhrase

The description of the object.

Optional property, can be null.