getClusterLeaves

fun getClusterLeaves(cluster: Feature, limit: Long, offset: Long): FeatureCollection

Returns all the leaves of a cluster (given its cluster_id), 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 this source as a cluster by calling GeoJsonOptions.withCluster.

Return

a list of features for the underlying leaves

Parameters

cluster

cluster from which to retrieve leaves from

limit

limit is the number of points to return

offset

offset is the amount of points to skip (for pagination)