POIID

public struct POIID : Hashable

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

  • id

    Identifier for the POI.

    Declaration

    Swift

    public let id: String
  • 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.

    source

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

  • 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