Is there a way to define an area or a distance for tooltips, so that the user can click a bit off target and he will get the tooltip anyway?

no, there isn't.

But you can "clone" your thin lines using a use element and set the stroke and fill to "none", increase the stroke-width and set the "pointer-events" attribute to "stroke" (see http://www.w3.org/TR/SVG11/interact.html#PointerEventsProperty). In the original group you can set the pointer-events to "none".

See example at: http://www.carto.net/neumann/temp/line_sensitivity_test.svg

Andreas

--
----------------------------------------------
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