get Geo Json Cluster Expansion Zoom
fun getGeoJsonClusterExpansionZoom(sourceIdentifier: String, cluster: Feature, callback: QueryFeatureExtensionCallback)
Content copied to clipboard
Returns the zoom on which the cluster expands into several children (useful for "click to zoom" feature) given the cluster's cluster_id (cluster_id value from feature properties) from a GeoJsonSource.
Requires configuring the source as a cluster by calling GeoJsonSource.Builder#cluster(boolean).
Parameters
callback
The result will be returned through the QueryFeatureExtensionCallback. The result is a feature extension value containing a value or a string describing an error if the operation was not successful.
cluster
cluster from which to retrieve the expansion zoom from
sourceIdentifier
GeoJsonSource identifier.