infoWindowLongClickEvents

fun MarkerManager.Collection.infoWindowLongClickEvents(): Flow<Marker>

Returns a flow that emits when a marker's info window in this collection is long clicked. Using this to observe info window long clicks will override an existing listener (if any) to MarkerManager.Collection.setOnInfoWindowLongClickListener.

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.