Closed muuki88 closed 11 years ago
This applies to simple svg created with Illustrator, too.
Kartograph expects a certain structure in SVG documents, see https://gist.github.com/3434004#file-usa-svg, for example.
Okay. I figured out that only absolute coordinates are allowed. Why is that?
@gka ,
What software should I use to generate svg files that are compatible with Kartograph?
EDIT: By the way, the example you linked didn't work.
@gka, I try to use Kartograph extensively. Is there a concise description of the required structure of SVG documents ? As you outline, https://gist.github.com/3434004#file-usa-svg works fine. But, e.g. the map referenced in http://commons.wikimedia.org/wiki/File:Blank_map_of_Europe.svg does not show up.
@gka Please provide some details how to export maps from Illustrator/Inkscape to work well with Kartograph.js? All files are exported using W3C SVG 1.1 version, but does not contain any metadata required by your lib.
I wasn't able to create a svg graphic with Inkscape version 0.48.3.1 r9886. The xml seems not be parsed correctly, but I have no clue.
I'm using
Here is the file which produced the error (like any other Inkscape svg).
The error occurs in this method