POICategoryOptions
public struct POICategoryOptions
Specifies the language and scope of POI categories.
-
Creates an instance of
POICategoryOptions
.Declaration
Swift
public init(locale: Locale = Locale.current, categories: [POICategoryID] = [])
Parameters
locale
Specifies the language of results.
categories
Specifies which categories to fetch. If empty, all categories are returned.
-
Specifies the language of results, units of measurement, etc
Declaration
Swift
public let locale: Locale
-
Result category IDs.
Declaration
Swift
public let categories: [POICategoryID]