getClusterChildren

fun getClusterChildren(cluster: Feature): FeatureCollection

Returns the children of a cluster (on the next zoom level) given its id (cluster_id value from feature properties).

Requires configuring this source as a cluster by calling GeoJsonOptions.withCluster.

Return

a list of features for the underlying children

Parameters

cluster

cluster from which to retrieve children from