CodeIgniter + Google Maps API V3 +关闭InfoWindow() [英] CodeIgniter + Google Maps API V3 + close InfoWindow()
本文介绍了CodeIgniter + Google Maps API V3 +关闭InfoWindow()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都知道如何让CodeIgniter Google Maps API v3库只允许打开一个信息窗口,并且在信息窗口外点击时隐藏信息窗口。
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.
库:
http://www.in-the-attic.co.uk/2010/08/03/google-map-library-for-codeigniter-example-usage -update /
推荐答案
如果您只希望一次显示一个信息窗口(因为这是行为),你应该只创建一个实例信息窗口。
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.
希望它有帮助
这篇关于CodeIgniter + Google Maps API V3 +关闭InfoWindow()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文