query Rendered Features
Queries the map for rendered features.
Return
A cancelable
object that could be used to cancel the pending query.
Parameters
The screen pixel coordinates
(point, line string or box) to query for rendered features.
The render query options
for querying rendered features.
The query features callback
called when the query completes.
Queries the map for rendered features.
Note: this is considered to be low-level API and should not be used in majority of use-cases. Instead consider using ClickInteraction, LongClickInteraction to interact with map elements.
Return
A cancelable
object that could be used to cancel the pending query.
Parameters
The screen pixel coordinates
(point, line string or box) to query for rendered features.
An array of FeaturesetQueryTarget used to filter and query interactive features.
The query features callback
called when the query operation completes.