Class YMKSearchToponymObjectMetadata

Additional data for toponym objects.

Class Methods

Properties

address

Structured toponym address.

balloonPoint

Point where balloon for the toponym should be shown.

formerName

Former name for toponym if any.

id

Persistent toponym id (available for Yandex-owned regions).

precision

Toponym precision.

Method Detail

+toponymObjectMetadataWithAddress:precision:formerName:balloonPoint:id:

+ (nonnull YMKSearchToponymObjectMetadata *)toponymObjectMetadataWithAddress:(nonnull YMKSearchAddress *)address
                                                                   precision:(nullable NSNumber *)precision
                                                                  formerName:(nullable NSString *)formerName
                                                                balloonPoint:(nonnull YMKPoint *)balloonPoint
                                                                          id:(nullable NSString *)id 

Property Detail

address

(assign, readonly) YMKSearchAddress * address

Structured toponym address.

balloonPoint

(assign, readonly) YMKPoint * balloonPoint

Point where balloon for the toponym should be shown.

Differs for direct and reverse search modes: Direct mode toponym center. Reverse mode toponym nearest point to the given coordinates.

formerName

(assign, readonly) NSString * formerName

Former name for toponym if any.

Optional property, can be null.

id

(assign, readonly) NSString * id

Persistent toponym id (available for Yandex-owned regions).

Optional property, can be null.

precision

(assign, readonly) NSNumber * precision

Toponym precision.

Optional property, can be null.