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 given descriptor and returns typed FeaturesetFeature list in the callback.
Return
A cancelable object that could be used to cancel the pending query.
Parameters
TypedFeaturesetDescriptor object representing either a featureset or a single layer.
The optional geometry (ScreenCoordinate, ScreenBox or list of ScreenCoordinates) to query for rendered features. Passing NULL is equivalent to passing a bounding box encompassing the entire map viewport.
optional global filter.
The QueryRenderedFeaturesetFeaturesCallback called when the query operation completes.