PoiCategoryQuery

public struct PoiCategoryQuery

Specifies the language and scope of POI categories.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • PoiCategoryQuery init method.

    Declaration

    Swift

    public init(locale: Locale = Locale.current, categories: [PoiCategoryId] = [])

    Parameters

    locale

    Specifies the language of results.

    categories

    Specifies which categories to fetch. If set to nil, all categories are returned.

Public