QuerySourceFeatures

API Reference (beta) for <QuerySourceFeatures />

Property Type Description
map
optional
Map
-
source
optional
string
-
features
optional bindable
MapGeoJSONFeature[]
-
children
optional
Snippet<[MapGeoJSONFeature]>
-
sourceLayer
optional
string
The name of the source layer to query. *For vector tile sources, this parameter is required.* For GeoJSON sources, it is ignored.
filter
optional
FilterSpecification
A [filter](https://maplibre.org/maplibre-style-spec/layers/#filter) to limit query results.
validate
optional
boolean
Whether to check if the [parameters.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.