GoogleMap.OnInfoWindowClickListener
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
GoogleMap.OnInfoWindowClickListener is an interface to handle 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 and provides the clicked marker as a parameter.
The onInfoWindowClick method is executed on the Android UI thread.
public static interface
GoogleMap.OnInfoWindowClickListener
Callback interface for click/tap events on a marker's info window.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-10 UTC."],[],["The `GoogleMap.OnInfoWindowClickListener` interface handles clicks on a marker's info window. It features one core method, `onInfoWindowClick(Marker marker)`. This method is triggered when an info window is clicked and it receives the `Marker` object associated with the clicked info window as a parameter. This action occurs on the main Android UI thread. Developers can implement this interface to add functionality for when an info window is clicked.\n"]]