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

poiClickEvents

fun GoogleMap.poiClickEvents(): Flow<PointOfInterest>

Returns a flow that emits when a PointOfInterest is clicked. Using this to observe PointOfInterest click events will override an existing listener (if any) to GoogleMap.setOnPoiClickListener