POIDetailsOptions
public struct POIDetailsOptions
Defines essential parameters to fetch POI details data.
-
Creates a new POI Details query.
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.
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-languages.Declaration
Swift
public let locale: Locale