scratch-map
scratch-map copied to clipboard
Make other map projection available
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)
+1, self hosting = individualism. This chimes to the philosophy so well.
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>