JCTiledScrollView icon indicating copy to clipboard operation
JCTiledScrollView copied to clipboard

Group pins

Open renanstig opened this issue 8 years ago • 3 comments

Hi,

I'm using your library for sometime which I have to say it's really great and I'm trying to figure out a way to group the annotations when the user zooms out, the same way Google Map does when you have several annotations in the map and zooms out and then all of them are grouped.

Is it possible to do something like that?

renanstig avatar Oct 13 '17 12:10 renanstig

Regrouping pins at different zoom levels isn't too far of a stretch using a Quadtree data structure for the pins. I wonder whether it would be appropriate to utilise GamePlay Kit's GKQuadtree.

jessedc avatar Oct 13 '17 22:10 jessedc

I've never used that, can it be integrated to your library?

renanstig avatar Oct 14 '17 12:10 renanstig

The pin placement is just a giant for loop it wouldn't be too difficult to extend.

jessedc avatar Oct 14 '17 21:10 jessedc