0

Forgive me if this is a duplicate, but the questions I find don't have an answer (I hope to simplify those questions).

Given two circles on a GoogleMap, how do I tell if they overlap and "smash" them into one image?

I have a lot of data points (~14K) and that many circles are not rendering well. Can they also be drawn just once, instead of 14k draw calls?

Eric Fossum
  • 2,395
  • 4
  • 26
  • 50

1 Answers1

0

There is Google Maps API Clustering Utility. That should handle clustering your items for you.

And there is a SOF Question addressing the same issue and solutions as well.

Community
  • 1
  • 1
osayilgan
  • 5,873
  • 7
  • 47
  • 68
  • I don't think that's what I want. I need to place markers to see where I've been. Kind of like polyline, but without order. – Eric Fossum Jun 01 '15 at 22:57
  • What is the difference between what you need and Google Maps Clustering Utility ? Don't you want to cluster the markers if they are close enough to each other ? – osayilgan Jun 01 '15 at 23:07
  • Yes and no. I need to draw data points (semitransparent circles) to fill in a map. Realistically, I would like to turn my data into one giant polygon, but I don't know how to make 100 or more overlapping circles into one shape. Clusters would just make them a grouped circle. – Eric Fossum Jun 02 '15 at 16:06
  • If I understood correctly, you just want to be able to draw circles on the map. [Here](http://stackoverflow.com/a/14812104/1080954) in this SOF Q/A it shows how you can Add Bitmaps into Map. This way you can also draw Circles inside a Canvas. Take a look. – osayilgan Jun 02 '15 at 18:59
  • I'll have to look into that later. – Eric Fossum Jun 02 '15 at 22:08