There is a demo of 14 000 markers send to client as stops.txt file, parsed at start into array and clustered dynamically client side on drag and zoom:
www.marsrutai.info/stops Transferring markers data does not take a long time, just do not use XML for this. There are still a lot markers on the map, so lightweight marker class is used for faster drawing. Works slow in IE7, good in FF3 and IE8 beta, fast in Chrome. Evaldas On Mar 25, 2:31 pm, marcelo <[email protected]> wrote: > If you have as many as 6000 markers, you're going to have to do > something on the server side, because just transferring, even without > rendering, the information about 6000 markers to the client would take > a long time. > > Basically you have two options: > 1. Custom tiles, for which there is a video on YouTube by John Coryat > describing the methodology. (Just search YouTube for 'John Coryat') > 2. Server side clustering, (2 slightly different > versions):http://maps.forum.nu/server_side_clusterer/http://maps.forum.nu/server_side_clusterer/index2.php > (not a free script) > > -- > Marcelo -http://maps.forum.nu > -- > > On Mar 25, 10:15 am, tivoli-reynaud <[email protected]> wrote: > > > Clustering about 6000 markers with open sourceMarkerManager is very > > slow. > > > Has anyone on sugestion about use of rounded pixelmarkercoordinate > > with hashmap > > > The hash function return rounded x and y and buckets are clusters. > > > Seems like this : > > > for eachmarker > > ifmarkeron map > > compute hash > > setmarkerin haskmap > > end > > > for each bukcet > > if markerscount== 1 > > addmarkeron map > > else > > add cluster on map > > end --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
