getGeoJsonClusterLeaves method
Returns all the leaves (original points) of a cluster (given its cluster_id) from a GeoJsonSource, with pagination support: limit is the number of leaves to return (set to Infinity for all points), and offset is the amount of points to skip (for pagination).
Requires configuring the source as a cluster by calling GeoJsonSource.Builder#cluster(boolean)
.
Implementation
Future<FeatureExtensionValue> getGeoJsonClusterLeaves(String sourceIdentifier,
Map<String?, Object?> cluster, int? limit, int? offset) =>
_mapInterface.getGeoJsonClusterLeaves(
sourceIdentifier, cluster, limit, offset);