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 instantiatePOIID
Note
to be used when you have access to the search resultsDeclaration
Swift
public init(from searchResultId: SearchResultId) throws
Parameters
searchResultId
result identifier produced by the search service
-
Initializes POIID structure
Declaration
Swift
public init(id: String, source: Source)
Parameters
id
an identifier of the POI for the given map
source
identifies the type of the search service used to retrieve POI identifier