POIID
public struct POIID
Defines the POI identifier required to fetch POI details
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes POIID from the search result identifier
Throws
throws an error if it’s not possible to instantiatePOIIDNote
to be used when you have access to the search resultsDeclaration
Swift
public init(from searchResultId: SearchResultID) throwsParameters
searchResultIdresult identifier produced by the search service
-
Initializes POIID structure
Declaration
Swift
public init(id: String, source: Source)Parameters
idan identifier of the POI for the given map
sourceidentifies the type of the search service used to retrieve POI identifier
POIID Structure Reference