<div dir="ltr">That's quite interesting, thanks for sharing! I always wondered what use exporting as a SVG was; now I know. :-)<br><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 24 February 2014 17:45, magerlin <span dir="ltr"><<a href="mailto:MAP@ramboll.dk" target="_blank">MAP@ramboll.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Try this!<br>
<br>
1) Export your map from your print composer as svg<br>
2) Add a link to the saved SVG file in line 69 of this file:<br>
QGIS_svg_pan_zoom.svg<br>
<<a href="http://osgeo-org.1560.x6.nabble.com/file/n5105612/QGIS_svg_pan_zoom.svg" target="_blank">http://osgeo-org.1560.x6.nabble.com/file/n5105612/QGIS_svg_pan_zoom.svg</a>><br>
(just edit it in a text editor)<br>
3) Adjust the height and width in line 5 and 6 if you like<br>
<br>
Open QGIS_svg_pan_zoom.svg in your browser and you can have something like<br>
THIS <<a href="http://byogtrafik.ramboll.dk/SandBox/QGIS_svg/QGIS_svg_pan_zoom.svg" target="_blank">http://byogtrafik.ramboll.dk/SandBox/QGIS_svg/QGIS_svg_pan_zoom.svg</a>><br>
!<br>
<br>
Perhaps some kind of pan and zoom function could be added automatically when<br>
exporting as svg from QGIS? As a new plugin? Anybody to take it from here?<br>
<br>
I am no programmer and I owe all the svg credit to this guy:<br>
<a href="http://www.petercollingridge.co.uk" target="_blank">www.petercollingridge.co.uk</a> <<a href="http://www.petercollingridge.co.uk" target="_blank">http://www.petercollingridge.co.uk</a>><br>
<br>
Be aware that the svg files can be rather big and perhaps not suitable for<br>
the net. It also seems like IE doesn't like big svg files - it simply leaves<br>
out some of the content! I have not seen this in Google and Firefox.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-----<br>
Regards Morten<br>
<br>
Qgis 2.0.1 OSGeo,<br>
Windows 7, 64bit<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Very-simple-webgis-in-just-one-single-svg-file-tp5105612.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/Very-simple-webgis-in-just-one-single-svg-file-tp5105612.html</a><br>


Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br></div></div></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.</span>