Now polygonal hotspots are available for html5 I was wondering if it would be possible to draw line hotspots, solid, dashed, dotted...
It would be great to draw roads or map over a pano !
line hotspots
-
-
There's a very simple trick to do it. You can draw lines duplicating set points and setting them in reverse order:
Code
Display More<hotspot name="..." ... > <point ath="1" atv="12" /> <point ath="33" atv="12" /> <point ath="133" atv="65" /> ... <point ath="133" atv="65" /> <point ath="33" atv="12" /> <point ath="1" atv="12" /> wev</hotspot>
However you can use only solid line... no dotted, dashed etc.
I've made an action that converts polygons into lines on the fly. I used it in this project:
-
i made polygonal hotspot and added style to html:
<style> polyline { stroke-dasharray: 12 8; } </style>
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!