scratch-map icon indicating copy to clipboard operation
scratch-map copied to clipboard

Make other map projection available

Open natrius opened this issue 2 years ago • 2 comments

It seems you are using the mercator projection. Fun-fact, it was never intended for this kind of use - it was solely made for nautical purposes. Cartographers nearly made everyone aware of that but then google destroyed everything as it does everytimes and made Mercator the 'standard' again :D This just a funfact. See https://en.wikipedia.org/wiki/Mercator_projection for more information.

Anyway, it would be fun to support some different projection-variants. I don't know how hard this would be, but there are some references at https://en.wikipedia.org/wiki/Map_projection I think that would be awesome :) (As a fun-gimmic a randomizer for everyday a new projection :D)

natrius avatar Nov 12 '22 09:11 natrius

+1, self hosting = individualism. This chimes to the philosophy so well.

Lockszmith-GH avatar Nov 12 '22 18:11 Lockszmith-GH

The world map actually uses a Robinson projection, rather than Mercator, although they do appear to be similar. I don't currently have any plans to add any other projections, but it does seem like a fun idea!

To comply with the current application setup, if you wanted to add a new world map projection, the SVG layout would have to be:

<svg id="svg-map">
  <g class="countries">
    <g id="US">
        US specific paths
    </g>
    ...
  </g>
</svg>

ad3m3r5 avatar Nov 12 '22 18:11 ad3m3r5