POIDetailsQuery
public struct POIDetailsQuery
Defines essential parameters to fetch POI Details data
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a new POI Details query
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init( poiID: POIID, locale: Locale = Locale.current, shouldFetchRelatedPOI: Bool = false )
Parameters
poiID
the identifier of the POI to fetch
locale
the locale to describe POI Details info with a relevant language
-
A unique POI identifier.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let poiID: POIID
-
Specifies how to describe POI Details info with a relevant language
Note
List of supported languages: https://developer.tomtom.com/search-api/search-api-documentation/supported-languagesImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let locale: Locale
-
Defines whether to include related POIs (if present) in the response
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let shouldFetchRelatedPOI: Bool