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

Set maximum zoom level based on endangered status #57

Open
huddlej opened this issue Jul 3, 2011 · 0 comments
Open

Set maximum zoom level based on endangered status #57

huddlej opened this issue Jul 3, 2011 · 0 comments

Comments

@huddlej
Copy link
Owner

huddlej commented Jul 3, 2011

At its simplest the solution would involve the following steps:

  • specify the maximum zoom for endangered species at the javascript or HTML level (in a template or in JS code itself)
  • provide endangered status data to the maps javascript from the backend
  • add a filter to the javascript marker display function that compares the current zoom to the maximum
  • return non-endangered species when zoom is too high
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

1 participant