MapKit Mobile SDK

Warning

This feature is available in the Full MapKit SDK version

MMKSearchToponymObjectMetadata

class MMKSearchToponymObjectMetadata : NSObject, MMKBaseMetadata

Additional data for toponym objects.

Summary

Class methods

 init(address: MMKSearchAddress,
    precision: NSNumber?,
   formerName: String?,
 balloonPoint: MMKPoint,
           id: String?)

Properties

var addressMMKSearchAddress { get }
Structured toponym address

var precision: NSNumber? { get }
Toponym precision

var formerName: String? { get }
Former name for toponym if any

var balloonPointMMKPoint { get }
Point where balloon for the toponym should be shown

var id: String? { get }
Persistent toponym id (available for Mappable-owned regions)

Class methods

init(address:precision:formerName:balloonPoint:id:)

 init(address: MMKSearchAddress,
    precision: NSNumber?,
   formerName: String?,
 balloonPoint: MMKPoint,
           id: String?)


Properties

address

var address: MMKSearchAddress { get }

Structured toponym address


precision

var precision: NSNumber? { get }

Toponym precision.

Optional field, can be nil.


formerName

var formerName: String? { get }

Former name for toponym if any.

Optional field, can be nil.


balloonPoint

var balloonPoint: MMKPoint { get }

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.


id

var id: String? { get }

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

Optional field, can be nil.