OnClickListener for pushpin

前端 未结 3 1829
梦谈多话
梦谈多话 2021-01-28 08:30

Here I have used google map and an overlay. I have used an image of pushpin to point to the GeoPoint.

I want to set an OnClickListener event for the pus

3条回答
  •  滥情空心
    2021-01-28 09:02

    You Override your own Overlay, so you have to handle Tabs yourself. Why not using ItemizedOverlay. Override the onTab(int index) there and you are done. It has also a useful hitTest Method.

提交回复
热议问题