queryRenderedFeatures

Queries the map for rendered features.

Parameters

callback

The `query features callback` called when the query completes.

options

The `render query options` for querying rendered features.

shape

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

abstract fun queryRenderedFeatures(shape: List<ScreenCoordinate>, options: RenderedQueryOptions, callback: QueryFeaturesCallback)

Queries the map for rendered features.

Parameters

box

The `screen box` in `platform pixel` to query for rendered features.

callback

The `query features callback` called when the query completes.

options

The `render query options` for querying rendered features.

abstract fun queryRenderedFeatures(box: ScreenBox, options: RenderedQueryOptions, callback: QueryFeaturesCallback)

Queries the map for rendered features.

Parameters

callback

The `query features callback` called when the query completes.

options

The `render query options` for querying rendered features.

pixel

The `screen coordinate` in `platform pixel` to query for rendered features.

abstract fun queryRenderedFeatures(pixel: ScreenCoordinate, options: RenderedQueryOptions, callback: QueryFeaturesCallback)