getGeoJsonClusterChildren method

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

Returns the children (original points or clusters) of a cluster (on the next zoom level) given its 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> getGeoJsonClusterChildren(
        String sourceIdentifier, Map<String?, Object?> cluster) =>
    _mapInterface.getGeoJsonClusterChildren(sourceIdentifier, cluster);