onMarkerClick

abstract fun onMarkerClick(@NonNull marker: Marker): Boolean

Called when the user clicks on a marker.

Return

If true the listener has consumed the event and the info window will not be shown.

Parameters

marker

The marker the user clicked on.