getGeoJsonClusterExpansionZoom method

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

Returns the zoom at which a cluster expands into multiple children.

cluster is a cluster feature with a cluster_id property. The zoom is in FeatureExtensionValue.value, as a string such as "1".

Completes with an error if the source does not exist. If the source is not a clustered GeoJSON source, or cluster is not a cluster of it, the result has no value.

Implementation

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