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

myLocationButtonClickEvents

fun GoogleMap.myLocationButtonClickEvents(): Flow<Unit>

Returns a flow that emits when the my location button is clicked. Using this to observe my location button click events will override an existing listener (if any) to GoogleMap.setOnMyLocationButtonClickListener