Google Map KML layer – click event return ZERO_RESULTS-Collection of common programming errors

Re-created your code in a fiddle:

I cannot replicate the issue you are having. Can you provide an example given the above link of where it fails? Is this possibly browser specific? Finally – is there any additional code you haven’t posted which might be the cause? My code is unchanged from yours as you posted, but I am curious if you are also doing other things:

function initialize() {
var mapOptions = {
    center: new google.maps.LatLng(41.875696, -87.624207),
    zoom: 11,
    mapTypeId: google.maps.MapTypeId.ROADMAP
var map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);

var ctaLayer = new google.maps.KmlLayer('');
google.maps.event.addListener(ctaLayer, 'click', function (kmlEvent) {

Originally posted 2013-11-09 23:22:20.