clickEvents
Returns a flow that emits when a circle in this collection is clicked. Using this to observe circle clicks will override an existing listener (if any) to CircleManager.Collection.setOnCircleClickListener.
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.
Returns a flow that emits when a ground overlay in this collection is clicked. Using this to observe ground overlay clicks will override an existing listener (if any) to GroundOverlayManager.Collection.setOnGroundOverlayClickListener.
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.
Returns a flow that emits when a marker in this collection is clicked. Using this to observe marker clicks will override an existing listener (if any) to MarkerManager.Collection.setOnMarkerClickListener.
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.
Returns a flow that emits when a polygon in this collection is clicked. Using this to observe polygon clicks will override an existing listener (if any) to PolygonManager.Collection.setOnPolygonClickListener.
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.
Returns a flow that emits when a polyline in this collection is clicked. Using this to observe polyline clicks will override an existing listener (if any) to PolylineManager.Collection.setOnPolylineClickListener.
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.