setClusterSettings

fun setClusterSettings(settings: MapPlaceClusterSettings, listener: MapPlacesManager.ClusterSettingsListener = ClusterSettingsListenerWrapper(), executor: Executor? = null)

Provide settings for the cluster calculation. The clustering joins nearby places to cluster objects when a view is zoomed out. The settings will be used in the subsequent fillings of places. This function itself doesn't perform any clusters processing. If settings are invalid, the radius is too small or too large, previous or default settings will be used.

Parameters

settings

Settings for cluster calculation

listener

callback listener receiving result.

executor

callback will be called on this executor See also MapPlaceClusterSettings, MapPlaceCategory.clusterId.