Android API for Google Maps v2 - InfoWindow with Buttons with Buttons

I am trying to put some buttons inside GoogleMaps InfoWindos.

I know that: β€œThe information window is not a live view, but the view is displayed as an image on the map. As a result, any listeners that you set in the view are ignored, and you cannot distinguish between click events on different parts of the view. You don’t It is recommended that you place interactive components, such as buttons, check boxes, or text inputs, in your custom info window.

Su, I'm looking for an alternative.

Thank you for your help.

+6
source share
2 answers

try this answer, it will help you perform button operations. But you cannot change the color of the buttons or info windows to choose from.

Google Maps Android API v2 - Interactive InfoWindow (as in the original Google Android map)

0
source

enter infowindowcliclistner .

-4
source

All Articles