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

Make MapService more re-usable for displaying maps with different starting centers/layers, etc #18

Open
1 of 3 tasks
benglass opened this issue Jun 6, 2013 · 0 comments

Comments

@benglass
Copy link
Member

benglass commented Jun 6, 2013

Consider subclassing map_render.js for specific maps (the only one we'd need to start would be Vermont). Currently vermont lat/lon center and zoom level is baked into the map renderer.

  • Allow passing in of center as an option
  • Allow passing in of zoom level as an option
  • Abstract the logic for determining which tile layers to use (OSM, Leaflet, etc.) and make it a configurable option
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