query Source Features
Queries the map for source features.
Return
A cancelable
object that could be used to cancel the pending query.
Note: In order to get expected results, the corresponding source needs to be in use and the query shall be made after the corresponding source data is loaded.
Parameters
The style source identifier used to query for source features.
The source query options
for querying source features.
The query features callback
called when the query completes.
Queries the map for source features.
Return
A cancelable
object that could be used to cancel the pending query.
Note: In order to get expected results, the corresponding source needs to be in use and the query shall be made after the corresponding source data is loaded.
Parameters
FeaturesetHolder object representing either a featureset or a single layer.
an optional global filter.
an optional identifier.
The callback called when the query completes.