GoogleMap.OnInfoWindowCloseListener

  • GoogleMap.OnInfoWindowCloseListener is a callback interface used for handling events when a marker's info window is closed on a Google Map.

  • The onInfoWindowClose() method is triggered when a marker's info window is closed, providing the associated Marker object.

  • This interface is crucial for responding to info window closures and performing actions based on user interactions with markers on the map.

public static interface GoogleMap.OnInfoWindowCloseListener

Callback interface for close events on a marker's info window.

Public Method Summary

abstract void
onInfoWindowClose(Marker marker)
Called when the marker's info window is closed.

Public Methods

public abstract void onInfoWindowClose (Marker marker)

Called when the marker's info window is closed.

This is called on the Android UI thread.

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