CodeIgniter + Google Maps API V3 +关闭InfoWindow()(CodeIgniter + Google Maps API V3 + close InfoWindow

编程入门 行业动态 更新时间:2024-10-14 02:18:25
CodeIgniter + Google Maps API V3 +关闭InfoWindow()(CodeIgniter + Google Maps API V3 + close InfoWindow())

任何人都知道如何使CodeIgniter谷歌地图API v3库只允许打开一个信息窗口,并使其在信息窗口外单击时隐藏信息窗口。

图书馆: http : //www.in-the-attic.co.uk/2010/08/03/google-map-library-for-codeigniter-example-usage-update/

Anyone have an idea how to make the CodeIgniter Google Maps API v3 library only allow a single info window to be open, and also to make it hide thei nfo window when clicking outside of the info window.

Library: http://www.in-the-attic.co.uk/2010/08/03/google-map-library-for-codeigniter-example-usage-update/

最满意答案

如果您希望一次只显示一个信息窗口(因为这是Google地图的行为),您应该只创建一个实例信息窗口。

希望能帮助到你

If you want only one info window to display at a time (as this is the behavior of Google Maps), you should create only one instance info window.

Hope it helps

更多推荐

本文发布于:2023-08-06 19:48:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1455793.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Maps   Google   CodeIgniter   API   close

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!