getClusters

open fun getClusters(zoom: Float): Set<out Cluster<T>>

Returns clusters of items for the given zoom level, with cluster positions set to the centroid of their constituent items rather than the position of any single item.

Return

a set of clusters with centroid positions

Parameters

zoom

the current zoom level