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
更多推荐
发布评论