POIDetailsOptions
public struct POIDetailsOptions
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 )
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