谷歌地图V2自定义信息窗口有两个可点击的按钮或ImageView的 [英] Google map v2 Custom Infowindow with two clickable buttons or ImageView

查看:501
本文介绍了谷歌地图V2自定义信息窗口有两个可点击的按钮或ImageView的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要有两个可以点击的按钮自定义信息窗口above.In它时,更多的则标记,点击其中任何一个,那么窗口应该是开放的,当点击另一个标记另一个窗口应该打开和关闭previous窗口以及在单一的点击。 有没有什么具体原因谷歌地图v2的不支持实时组件像按钮,复选框?

I need custom info window with two clickable button as above.In it when more then marker and click any one of them then window should be open and when click on another marker another window should open and close previous window as well in single click. is there any specific reason why google map v2 not support live component like button ,check box?

推荐答案

你所想实现是可能的。

您可以看到这个答案的食谱:<一href="http://stackoverflow.com/a/15040761/2183804">http://stackoverflow.com/a/15040761/2183804

You can see the recipe in this answer: http://stackoverflow.com/a/15040761/2183804

和rel="nofollow">谷歌工作的实施上

And a working implementation on Google Play.

这篇关于谷歌地图V2自定义信息窗口有两个可点击的按钮或ImageView的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆