getGeoJsonClusterExpansionZoom method

Future<FeatureExtensionValue> getGeoJsonClusterExpansionZoom(
  1. String sourceIdentifier,
  2. Map<String?, Object?> cluster
)

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).

Implementation

Future<FeatureExtensionValue> getGeoJsonClusterExpansionZoom(
        String sourceIdentifier, Map<String?, Object?> cluster) =>
    _mapInterface.getGeoJsonClusterExpansionZoom(sourceIdentifier, cluster);