PoiId

data class PoiId(val id: String, val source: Source)

Identifier that represents the Point Of Interest.

Constructors

Link copied to clipboard
constructor(id: String, source: Source)

Properties

Link copied to clipboard
val id: String

The identifier of the given POI. Online POI ids (source is Source.Online) are currently not guaranteed to be stable. They are quasi-stable i.e. if a request is made shortly after obtaining an ID, the POI ID is likely to remain unchanged, but it may not always be the case when online server map data is updated. For an NDS POI (source is Source.Offline), the POI ID is synthesized as "nds:::". Example: "nds:16459549:4162:121545" NDS POI IDs are stable at least until a map update is performed. The NDS map compiler may also guarantee stability for some maps when doing incremental update.

Link copied to clipboard

Identifies the type of the search service used to retrieve the POI identifier.