> I have the ClusterMarker installed, however it's only loading the
> first location from my XML

You're creating a new clusterer (and destroying the previous one) in
mapint.js for every marker you read from XML.
Don't do that, create just one clusterer (like you create just one
map).
The most efficient way to load the markers is to push each one on to
an array, and after all marker creations are finished, pass the array
to the clusterer.
Docs -
  http://googlemapsapi.martinpearman.co.uk/readarticle.php?article_id=2
Observe that the line creating the cluster is outside of the marker
for-loop.
Example from the docs -
   
http://googlemapsapi.martinpearman.co.uk/infusions/google_maps_api/basic_page.php?map_id=4
-- 
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