you did not use the pointer-events attribute. If you'd use the pointer-events attribute and set it to stroke, visibility="hidden" should work.

The pointer-events attribute is very powerful and potentially makes your app more efficient, why not just use it?

Andreas

thank you for your help. I tested some variations based on your ideas and now 
it works.

I used the "use" element and set the stroke-width attribute to a higher value and the 
opacity attribute to 0. Setting the visibility attribute to "hidden" did not work.

   <polyline id="111" points="44 120, 44 85, 50 60, 70 120">
     <desc>This is a polyline!</desc>
   </polyline>
<use xlink:href="#111" stroke-width="10" opacity="0"/>

Thanks, best regards
- Volker -


--
----------------------------------------------
Andreas Neumann
Institute of Cartography
ETH Zurich
Wolfgang-Paulistrasse 15
CH-8093  Zurich, Switzerland

Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
e-mail: [EMAIL PROTECTED]
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to