GoogleMap.OnInfoWindowCloseListener
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
GoogleMap.OnInfoWindowCloseListener is a callback interface used for handling events when a marker's info window is closed on a Google Map.
This interface has one method, onInfoWindowClose(Marker marker), which is triggered when an info window is closed, providing the associated marker as a parameter.
The onInfoWindowClose method is executed on the Android UI thread.
public static interface
GoogleMap.OnInfoWindowCloseListener
Callback interface for close events on a marker's info window.
[null,null,["Last updated 2026-04-30 UTC."],[],["The `GoogleMap.OnInfoWindowCloseListener` interface handles close events for a marker's info window. It contains one method, `onInfoWindowClose(Marker marker)`, which is called when an info window is closed. This method is executed on the Android UI thread and receives the `Marker` object associated with the closed info window as a parameter, allowing for custom actions based on the closure.\n"]]