Reputation: 1
i have use a google map. i have added a marker with info windows. if add add two button in the infowindows it is not possible to add clicklistener per buttons. i know that "The info window that is drawn is not a live view." but i am searching for a solution
i have add two buttons with event cliklistener but it dosent work
Upvotes: 0
Views: 54
Reputation: 5
Info windows in Google Maps are not live views, which means they are rendered as images, not placed in the view hierarchy. Because of this, you cannot directly set an OnClickListener for the buttons inside an info window.
Upvotes: 0