Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group pins #40

Open
renanstig opened this issue Oct 13, 2017 · 3 comments
Open

Group pins #40

renanstig opened this issue Oct 13, 2017 · 3 comments

Comments

@renanstig
Copy link

renanstig commented Oct 13, 2017

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?

@jessedc
Copy link
Owner

jessedc commented Oct 13, 2017

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.

@renanstig
Copy link
Author

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

@jessedc
Copy link
Owner

jessedc commented Oct 14, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants