query Rendered Features
open override fun queryRenderedFeatures(shape: List<ScreenCoordinate?>, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
Content copied to clipboard
Queries the map for rendered features.
Return
An array of rendered features.
Parameters
shape
Screen pixel coordinates (point, line string or box) to query for rendered features.
options
Options for querying rendered features.
callback
Callback called when the query completes
open override fun queryRenderedFeatures(box: ScreenBox, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
Content copied to clipboard
Queries the map for rendered features.
Return
An array of rendered features.
Parameters
box
Screen box to query for rendered features.
options
Options for querying rendered features.
callback
Callback called when the query completes
open override fun queryRenderedFeatures(pixel: ScreenCoordinate, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
Content copied to clipboard
Queries the map for rendered features.
Return
An array of rendered features.
Parameters
pixel
Screen pixel coordinate to query for rendered features.
options
Options for querying rendered features.
callback
Callback called when the query completes