Google maps cluster manager

Posted by Prashant on Stack Overflow See other posts from Stack Overflow or by Prashant
Published on 2010-02-13T08:12:43Z Indexed on 2010/04/03 0:33 UTC
Read the original article Hit count: 382

Filed under:
|

Hello all

I am using google maps in my application. I have to show 100 markers on map.

First I prepared a markers array from these markers.

When markers are added using addOverlay from markers array, it takes some time and they are being added in some animated way (in sequence).

I want all of them to get added to map in a single shot, so no flickering effect.

I tried MarkerClusterer but it shows a cluster of markers where the need be. Instead I want all the markers to appear, not a cluster. Only they should be added faster.

var point = new GLatLng(latArr[i],lonArr[i]);

var marker = new GMarker(point,markerOptions);                              
markers[i] = marker;

var markerCluster = new MarkerClusterer(map, markers);

Any suggestions please? Thank you.

© Stack Overflow or respective owner

Related posts about google

Related posts about maps