GoogleMap.OnInfoWindowClickListener

  • GoogleMap.OnInfoWindowClickListener is an interface to manage click events on a marker's info window.

  • It includes a single method, onInfoWindowClick, which is triggered when a marker's info window is clicked.

  • The onInfoWindowClick method provides the clicked Marker object as a parameter and executes on the Android UI thread.

public static interface GoogleMap.OnInfoWindowClickListener

Callback interface for click/tap events on a marker's info window.

Public Method Summary

abstract void
onInfoWindowClick(Marker marker)
Called when the marker's info window is clicked.

Public Methods

public abstract void onInfoWindowClick (Marker marker)

Called when the marker's info window is clicked.

This is called on the Android UI thread.

Parameters
marker The marker of the info window that was clicked.