Solvedcity roads [Feature request] SVG export

It would be super nice to have the ability to export the current map as svg instead of png.

Props for the work so far !

16 Answers

✔️Accepted Answer

Hello Friends!

I've added experimental support for this feature. May I ask you to play with it and tell me how it goes?

To enable the feature just add ?svg=1 to the query string. I.e. click here https://anvaka.github.io/city-roads/?svg=1 - there should be a new item to export as SVG (trying to keep it hidden, so that if there are any issues we don't set wrong expectations)

image

Would this work? Anything else is missing?

Other Answers:

Thank you for the feedback! This is done now. Here is side by side rendering of city roads and an exported svg (both rendered by google chrome):

image

Still need to look into Safari export error, but otherwise this change supports colors and labels customization. Hope this works for you too! Please open a new issue if you find anything missing or broken.

Thanks again for the inspiration :).

Related Issues:

17
city roads [Feature request] SVG export
Hello Friends! I've added experimental support for this feature It would be super nice to have the a...