Hi, I load a kml file, disable the default infowindow, and use custom infowindow for all the markers. Somehow, the infowindows are not displayed. Here is the link and codes: https://mekong.rmit.edu.vn/~s3231181/api/test.html
var resLayer = new google.maps.KmlLayer(kmlUrl + '?dummy=' + (new Date()).getTime(), { suppressInfoWindows: true, map: map } ); google.maps.event.addListener(resLayer, 'click', function(kmlEvent) { var iw = new google.maps.InfoWindow(); iw.setOptions({ content: kmlEvent.featureData.description, size: new google.maps.Size(100,100), position: kmlEvent.position }); iw.open(map); }); resLayer.setMap(map); What would be the problem? Thank you, Duong -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.