How Can I Cluster Markers Without Overlap With Google Maps?
Solution 1:
Look at the OverlappingMarkerSpiderfier
See this post on integrating it with MarkerClusterer
Solution 2:
I had a similar (albeit not exactly the same) problem.
I needed to draw sample points in a plot chart. But I found collisions (exact overlap for some points coming from coarser lectures) and aliasing artifacts (partial overlaps with repeating some fixed amount of displacement due also to coarser lectures).
I decided to introduce some random displacements to all of the points. The "noise" had a normal distribution with a variance two times smaller than the variance of the measured error of the sample, so it did not change add significant variance to the perceived sample. The result was a much clearer chart, more informative, and nicer.
Applying this experience in your case, I would detect exact overlaps in Lat Long and for those I would add some random Lat and Long, effectively moving the point a bit away of its original position and thus avoiding the exact overlap.
Post a Comment for "How Can I Cluster Markers Without Overlap With Google Maps?"