POIID

public struct POIID : Hashable

Defines the POI identifier (POIID) required to fetch POI details.

  • Creates an instance of POIID with given parameters.

    Declaration

    Swift

    public init(id: String, source: Source)

    Parameters

    id

    The identifier of the POI in the given map. For an NDS POI, 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.

    source

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

  • id

    Identifier for the POI.

    Declaration

    Swift

    public let id: String
  • Identifies the type of the search service that produced POI identifier.

    Note

    Source should be used as a requirement for the type of service to get the POI details

    Declaration

    Swift

    public let source: Source