-
-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] SVG export #4
Comments
+1 |
I totally agree with this suggestion! |
Yes! If not SVG, vector PDF. |
Yes! This is needed. |
+1 |
Yeah, agreed. I'd like to do some graphic art with those clean maps. |
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 Would this work? Anything else is missing? |
Looks good to me, though I first couldn't see anything in inkscape. I had to zoom in or make the lines thicker, but it seems to work. Thanks |
Looks good too! Opened it in Inkscape, selected all the objects and applied a 1 px-wide solid color to the lines, exported it to a png and it's sooooo gorgeous. Each step required some time to Inkscape to process it because there are many many many objets to deal with, that seems normal to me. |
Works fine for me, thanks. However, the colors are ignored (always black and white). And there is no city label. An additional rather small issue: at the end of each path's d attribute value there is an unnecessary space: "" |
The SVG pulls the view that I select (zoom level, placement), but its just black lines on a white bg. |
Downloading as svg doesn't work for me on Safari, macOS 10.15.2. I made sure |
@jeroentvb make sure you're appending |
this ist really cool with .svg! Many thanks. Testet with chrom - it works |
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): 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 :). |
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 !
The text was updated successfully, but these errors were encountered: