[英]Pop-Up a menu on Google Map with two buttons
i want to pop up a menu on touching the map, the menu should have two buttons 1. SetAs-Source 2. SetAsDestination. 我想在触摸地图时弹出一个菜单,该菜单应具有两个按钮1. SetAs-Source 2. SetAsDestination。 !
! on clicking the source the point should be stored in a GeoPoint Variable and the button should then we disabled after setting as source, also i would like to add a image at that point.
在单击源时,该点应存储在GeoPoint变量中,然后应将按钮设置为源后将其禁用,我也想在该点添加图像。
I am able to add a Item in The Itemizedoverlay and show a pushpin over there, but before doing this all i want to popup a menu pointing over the touched(like traditionaly google pop-up ) and on setting as source, it should add the item . 我能够在Itemizedoverlay中添加一个项目,并在那儿显示图钉,但是在执行此操作之前,我想弹出一个菜单,指向被触摸的菜单(例如,传统的google pop-up),并将其设置为源时,应该添加项目。
The popup should be like as you see in the image but, instead of plain text i want to add buttons 弹出窗口应该像您在图像中看到的一样,但是我想添加按钮而不是纯文本
Thanks In Advance ! 提前致谢 !
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.