I am working on a web based mapping thing. I tried to display an SVG World Map, but it is only showing just over half of what I want it to.
You can see what I mean here:
And I am using this code to display it:
var img = new Image();
img.src = "https://trevorc.ca/maps/map.svg";
mapcan.drawImage(img,-26361054,-16656750,26361054*2.2,16656750*2);
I have double checked the size. I am almost certain it is correct. I have even changed it to see. When I did that it stretched the image but was cut off at the same spot, and I am sure the file is not just cut off there.