clusterClickEvents

fun <T : ClusterItem> ClusterManager<T>.clusterClickEvents(): Flow<Cluster<T>>

Returns a flow that emits when a cluster is clicked. Using this to observe cluster clicks will override an existing listener (if any) to ClusterManager.setOnClusterClickListener.

Warning: This is a cold flow wrapping a single-listener SDK callback. Concurrently subscribing multiple collectors will result in listener hijacking, and cancelling any observer will unregister the active listener completely. Always share this flow (e.g. using kotlinx.coroutines.flow.shareIn) for multi-observer configurations.