简体   繁体   中英

how to disable default infoWindow in google maps v3

I am developing a google map applications, i am loading polygons from another kml file which stored in database. That kml file contains polygon and default infoWindow (when click inside the polygon ), i want to disable that infowindow. please tell me how to do it.

Thank you.

如果您使用Google Maps API v3 KmlLayer来显示KML,则可以使用构造函数中的preventInfoWindows:true属性禁用默认的InfoWindow。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM