abstract fun setMarkersClustering(enabled: Boolean): Unit
Turn on / off markers clustering. By default, clustering is not enabled.
abstract fun setMarkersClustering(enabled: Boolean, radius: Int, maxZoom: Int): Unit
Turn on / off markers clustering and provide custom parameters to customize the algorithm. By default, clustering is not enabled, maximum zoom level is set to 16 and radius is set to 50.
radius
- Minimum distance in pixels between markers that defines whether they should be clustered or not.