datadesk / web-map-maker

Use Natural Earth and OpenStreetMap data to export an image or a vector file.
http://datadesk.github.io/web-map-maker/
MIT License
94 stars 28 forks source link

remove compound paths for areas in svg exporter #128

Closed jschleuss closed 6 years ago

jschleuss commented 7 years ago

They're showing up along with closed paths for things like riverbanks and can't be filled properly.

jschleuss commented 7 years ago

https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths

Closed paths have a "d" attribute that ends with a z.

jschleuss commented 6 years ago

This was done a while ago.