queryRenderedFeatures

Queries the map for rendered features.

It will suspend until current MapState is set to the MapboxMap composable function.

Return

a list of QueriedRenderedFeature or a string describing an error.

Parameters

geometry

The screen pixel coordinates (point, line string or box) to query for rendered features.

options

The render query options for querying rendered features.


Queries the map for given descriptor and returns typed FeaturesetFeature list in the callback.

Return

A typed instance list of the FeaturesetFeature.

Parameters

geometry

The screen pixel coordinates (point, line string or box) to query for rendered features.

descriptor

TypedFeaturesetDescriptor object representing either a featureset or a single layer.

filter

optional global filter.