How to disable infowindow from registered places from map?

后端 未结 4 1207
不知归路
不知归路 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:43

    The easiest and most efficient way to prevent this behavior is to call the stop() method on a click event attached to the Map instance.

    map.addListener("click", e => e.stop());
    

提交回复
热议问题