Disable click behavior of POI markers in Google Maps JS API

前端 未结 5 926
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-06 10:17

As of Google Maps API v3.6, maps now include \"points of interest\", which are gray markers embedded into a map. When the user clicks on this icon, an InfoWindow appears wi

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-06 10:49

    I'm not sure if this is still relevant to you, but Google did, indeed, solve the issue on April, 2016, all you need to do is clickableIcons to false in MapOptions

提交回复
热议问题