getClusterLeaves

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

Return

An array of features for the underlying leaves.

Parameters

clusterId

from which to retrieve leaves from

limit

is the number of points to return

offset

is the amount of points to skip (for pagination)

fun GeoJsonSource.getClusterLeaves(clusterId: Int, limit: Int, offset: Int): MutableList<Feature>