Custom infowindow in Google map android v2

前端 未结 5 559
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-13 06:49

I am using Google Map API V2 and i have created a custom InfoWindow for a Marker on map.In this InfoWindow i have a button.

My

5条回答
  •  不思量自难忘°
    2020-12-13 07:39

    Please refer Info window click events in this link

    Info window is not a live View, rather the view is rendered as an image onto the map. As a result, any listeners you set on the view are disregarded and you cannot distinguish between click events on various parts of the view. You are advised not to place interactive components — such as buttons, checkboxes, or text inputs — within your custom info window.

提交回复
热议问题