maps-ktx / com.google.maps.android.ktx / com.google.android.gms.maps.GoogleMap / markerClickEvents

markerClickEvents

fun GoogleMap.markerClickEvents(): Flow<Marker>

Returns a flow that emits when a marker on the map is clicked. Using this to observe marker click events will override an existing listener (if any) to GoogleMap.setOnMarkerClickListener