We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get a "Uncaught TypeError: Cannot read property 'getAttribute' of undefined" error with this simple code:
var map = kartograph.map('#map', 600, 400);
map.loadMap('arg.svg', function() { // do something with your map, add layers etc. });
The text was updated successfully, but these errors were encountered:
You can read this answer : either add metadata tag or use the 'addLayer' method if you generated your map with kartograph.py like :
var map = kartograph.map('#map', 600, 400); map.loadMap('map.svg', function() { map.addLayer('my_layer_name_defined_for_kartograph.py', { styles: { fill: 'blue', stroke: 'red', } }); });
Sorry, something went wrong.
No branches or pull requests
I get a "Uncaught TypeError: Cannot read property 'getAttribute' of undefined" error with this simple code:
var map = kartograph.map('#map', 600, 400);
map.loadMap('arg.svg', function() {
// do something with your map, add layers etc.
});
The text was updated successfully, but these errors were encountered: