> As i see it markerclusterer shows my icons but does not cluster.

This line in your createMarker function -
    var markerCluster = new MarkerClusterer(map, markers);
creates a new clusterer every time you create a marker, and adds just
one marker to each one.

Set just one clusterer up outside of your marker creating loop, and
populate it with your array after all the marker creation has finished
i.e. at the end of your GDownloadUrl routine.

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.


Reply via email to