With kartograph.js I can access the container element of my map like this: mymap.container
. But how do I get the actual SVG (or VML) element?
$(mymap.container).find("svg,vml")
works, but feels stupid.
In the end, I want to be able to manipulate some attributes of the element (namely preserveAspectRatio
, width
and height
).