How to disable infowindow from registered places from map?

后端 未结 4 1208
不知归路
不知归路 2020-12-20 02:37

Hi am new to google maps. I have used gmaps jquery plugin for displaying map. In that i have my own markers and polylines for some locations,and displaying the infowindow wh

4条回答
  •  一个人的身影
    2020-12-20 02:49

    There is a close() function for InfoWindows. Just keep track of the last opened window, and call the close function on it when a new window is created.

    This demo(http://www.lootogo.com/googlemapsapi3/markerPlugin.html) has the functionality you're looking for. I found it in the Maps API V3 demo gallery.

提交回复
热议问题