I have one of client has some there own MAP which is coming from map tag into code
while it binds svg at running time.
When I convert SVG to png image is coming blank while my svg has map of selected area.
- var svg = document.getElementById('OpenLayers_Layer_Vector_75_svgRoot');
- var xml = new XMLSerializer().serializeToString(svg);
- var data = "data:image/svg+xml;base64," + btoa(xml);
- var img = new Image();
- img.setAttribute('src', data);
- document.body.appendChild(img);

Mohamed AbedallahPosted Dec 21, 2017, 11:30 AM
You can check the document viewer and converting features by checking the menu items “File => Export” in this online demo:
https://demo.leadtools.com/JavaScript/DocumentViewer/index.html
https://www.leadtools.com/help/leadtools/v19/dh/doxc/documentconverterjobs.html
Gautam ParmarPosted Oct 11, 2017, 2:17 AM
SandyPosted Oct 10, 2017, 5:36 AM