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

By generating SVGs on demand, the Download SVG button doesn't have to always give the saved version of the map #78

Open
shannonturner opened this issue Nov 3, 2024 · 0 comments

Comments

@shannonturner
Copy link
Owner

This wouldn't be too hard to do, though it does add a lot of complexity.

  1. Would want to create these in a temporary directory that's cleared out quickly
  2. Would want to gate the ability to generate SVGs behind recaptcha
  3. Would want to provide a drop-down menu with all of the options, because having as many as four buttons is a little silly:
    • Current map, PNG
    • Current map, SVG
    • Original map, PNG
    • Original map, SVG
  4. Would require a slight refactor of SVG generation to make it generate even when there's not a SavedMap object
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

1 participant