Hi, I want in google maps for MarkerClusterer object to show some info window. I do like : var mcOptions = {gridSize: 150, maxZoom: 5}; var mc = new MarkerClusterer(map, [], mcOptions); google.maps.event.addListener(mc, 'clusterclick', function(cluster) { alert( "clusterclick cluster::"+var_dump(cluster) ) // I see this alert var content = ''; var info = new google.maps.MVCObject; info.set('position', cluster.center_); var infowindow = new google.maps.InfoWindow({});
infowindow.content += "<div>Something<\/div>"; infowindow.setPosition(cluster.getCenter()); infowindow.open(map); return false; }); But on click map in more high zoom level is reopened. If these is a way on this click to stop any default action ? I googled and found code like : ev.cancelBubble = true; if (ev.stopPropagation) { ev.stopPropagation(); } where ev must be aparameter of your onClick method (the event object), but I did not find how to get this object. If t6hese is way to stop the click action? 2) I would prefer to make mouseOver event here, but seems MarkerClusterer has no it ? Thanks! -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-chart-api+unsubscr...@googlegroups.com. To post to this group, send email to google-chart-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-chart-api. For more options, visit https://groups.google.com/d/optout.