Andrew, thanks for the help! I set the infoBubble to show up on click, and 
got it working, but am having difficulty displaying info (an id) from the 
array, I can only manage to get it to display the first item from the 
cluster array.. I've been working most of the day trying different things to 
get the id for each item in the cluster array to show up with a <br /> tag 
after it, but no joy yet. Any help would be appreciated! working example 
here: http://www.smartersummerssite.org/map/index.php sample code below:

google.maps.event.addListener(markerCluster, 'clusterclick',
function(cluster) {
var center = cluster.getCenter();
var size = cluster.getSize();

var clickedMarkers = cluster.getMarkers();
   
for (var i = 0; i < clickedMarkers.length; i++) {   
var clusterid = clickedMarkers[i].id;
}

infoBubble.setContent(clusterid + "<br />");
infoBubble.setPosition(center);
infoBubble.open(map); 
  
    });
}

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to