query Feature Extensions
Queries for feature extension values in a GeoJSON source.
Parameters
The identifier of the source to query.
to look for in the query.
, now only support keyword 'supercluster'.
, now only support following three extensions: 'children': returns the children of a cluster (on the next zoom level). 'leaves': returns all the leaves of a cluster (given its cluster_id) 'expansion-zoom': returns the zoom on which the cluster expands into several children (useful for "click to zoom" feature).
The result will be returned through the QueryFeatureExtensionCallback. The result could be a feature extension value containing either a value (expansion-zoom) or a feature collection (children or leaves). Or a string describing an error if the operation was not successful.