For displaying that many markers efficiently 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 Dec 11, 11:55 am, hitesh kumar yadav <[email protected]>
wrote:
> Hello everyone,
>
> I use a local search api for my map and overlay the markers by calling
> addoverlay() method.
>
> I have a task to cluster a large number of markers say the number can
> be from 2000 to 8000 markers which I get from my database all together
> and pass it to the clustering java script after creating an array that
> contains markers.
>
> I use the following method:
> var cluster = new ClusterMarker(map, {markers: markersArray} );
> cluster.refresh();
> where markersArray is the array that contains the markers I get from
> database.
>
> The implementation involves overlay of the local search api markers
> before the custom markers that I get from my database.
>
> Is it a good practice to process this much of markers at client side.
> Please suggest me if there is any other way.
>
> I would be obliged for your suggestions.
>
> Thanks and Regards,
> Hitesh

--

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