I am using svg-pan-zoom
to load add zoom-in and zoom-out function on my svg.
But my svg is not store on a file, it is generate via js.
I would like to to add a thumbnailViewer, according to their example, they put the svg inside an embed tag like this:
<embed id="thumbView" type="image/svg+xml" src="tiger.svg" class="thumbViewClass"/>
But my svg is not a static file, how can I solve that? Any idea? Thanks.
http://ariutta.github.io/svg-pan-zoom/demo/thumbnailViewer.html