Friday, July 29, 2011

[Google Maps API v2] Re: ClusterMarker and GDownloadUrl

> Below is the code suggested for clustering, but I do not know how to
> get my data in there.

Take a different approach. Add clustering to your current code that
works.
Create a clusterer when you create the map.
As your GDownloadUrl callback creates each marker, don't addOverlay
them to the map, but instead push them onto an array.
After the end of the marker creating loop, pass the array to clusterer

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate