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.