Google maps cluster manager
- by Prashant
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.