Hi ! I made an Java applet for vizualization of SVG files.This applet has the posibility to turn on\off certainely SVG layers.The applet has also zoom and pan property. Now the problem appear when I want to turn off\on some layer because the image in the JSVGCanvas is repainting but to the initial zoom&pan level. The code for visualization of layer is : svgDocument = svgCanvas.getSVGDocument(); Element element1 = svgDocument.getElementById("layer"); element1.setAttributeNS(null,"visibility","visible"); svgCanvas.setSVGDocument(documentSVG);
How can I preserve the level of zoom&pan and the layer to be visible. Thanks in advance! Regards Pop Calin __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]