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

Zoom to bounds of selected animals #10

Open
zkuralt opened this issue Oct 6, 2017 · 3 comments
Open

Zoom to bounds of selected animals #10

zkuralt opened this issue Oct 6, 2017 · 3 comments

Comments

@zkuralt
Copy link
Collaborator

zkuralt commented Oct 6, 2017

Set map bounds to currently selected animals and siblings.

@romunov romunov closed this as completed in 6d780de Oct 7, 2017
@romunov
Copy link
Owner

romunov commented Oct 7, 2017

Ah crap, I mean to close 11, not this one.

@romunov romunov reopened this Oct 7, 2017
@zkuralt
Copy link
Collaborator Author

zkuralt commented Oct 10, 2017

fitBounds(~min(lng), ~min(lat), ~max(lng), ~max(lat)) should do the trick

@romunov
Copy link
Owner

romunov commented Oct 10, 2017

Yes, but should be limited to a click. It would suck if you were knocked all over the map as you are selecting animals.

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

No branches or pull requests

2 participants