metro-map-maker icon indicating copy to clipboard operation
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

Open shannonturner opened this issue 11 months ago • 0 comments

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

shannonturner avatar Nov 03 '24 12:11 shannonturner