I try to update webcanvas in realtime by a mousemove event.
With help of this example How to detect mouse-down in web container - #12 by Ricardo_Cruz (@Ricardo_Cruz for president) I have the position of the mouse over the webcanvas, but when I try to use the coordinates to draw a line I have a strange behavior when refreshing the webcanvas: sometimes a line appears, most of the time nothing happens.
Plan B, probably faster when there are lot of lines, is to draw each line on a Picture you store server side. This way, the WebCanvas will just draw that picture, instead of sending the whole pack of lines to draw.
But the script to render 1000s of lines in the canvas could be huge, it worth to give a try rendering the picture server side (if the other method gets slow)
“copy as svg” button only works once, but the real svg coming from the websdk is ok
so it seems the imageviewer only accepts one svgdata ?
anyway the png output is ok too.