Spec-Zone.ru › MapLibre GL JS

QueryRenderedFeaturesOptions

QueryRenderedFeaturesOptions = object

Options to pass to query the map for the rendered features

Properties

availableImages?

optional availableImages?: string[]

An array of string representing the available images


filter?

optional filter?: FilterSpecification

A filter to limit query results.


layers?

optional layers?: string[] | Set<string>

An array or set of style layer IDs for the query to inspect. Only features within these layers will be returned. If this parameter is undefined, all layers will be checked.


validate?

optional validate?: boolean

Whether to check if the options.filter conforms to the MapLibre Style Specification. Disabling validation is a performance optimization that should only be used if you have previously validated the values you will be passing to this function.

© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/QueryRenderedFeaturesOptions/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API