I have predefined google map with about 6k markers. How do i make custom markers for them, if i need to put marker_1 if there are 10+ points in 1cm^2 or put marker_2 if there are 50+ points,etc. And the last one, i need to print amount of points in this custom marker.
Share
Pasting a code which demonstrate it
this code demonstrate how to add clustreded ability to google map , try adding that to your code.
Location is the 2d array with the marker locatoin, MarkerClusterer is the object which makes alot of points looks as one big mark with number of instances.
Don’t forget to declare :
Hope that helps.