'); infowindow.open(map, marker); } })(marker, i)); markers.push(marker); } var markerCluster = new MarkerClusterer(map, markers,{imagePath: 'http://bga.org.uk/wp-content/plugins/woo-events/shortcode/markerclusterer/images/m'}); } google.maps.event.addDomListener(window, 'load', initialize);