metro-map-maker
metro-map-maker copied to clipboard
By generating SVGs on demand, the Download SVG button doesn't have to always give the saved version of the map
This wouldn't be too hard to do, though it does add a lot of complexity.
- Would want to create these in a temporary directory that's cleared out quickly
- Would want to gate the ability to generate SVGs behind recaptcha
- 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
- Would require a slight refactor of SVG generation to make it generate even when there's not a SavedMap object