You can do this... but not in a true "linear" fashion.
You can create a hotspot that looks linear by creating a regular polygonal hotspot that just has all of the point really close to each other... you might be able to overlay the spots to create a "line" but if not, just offset them by a few decimal values.
I played around with this sample...
http://www.krpano.com/krpano.html?pano=p…leiongarten.xml ... using the editor and got the result shown below.
Here are the points used...
|
Quellcode
|
1
2
3
4
5
6
7
8
|
<!-- going one direction -->
<point ath="-50.0462" atv=" -1.8125" /> <!-- point 1a -->
<point ath="-35.7537" atv="-15.1058" /> <!-- point 2a -->
<point ath="-29.8042" atv="-42.2270" /> <!-- point 3a -->
<!-- and now going back -->
<point ath="-30.0085" atv="-42.2203" /> <!-- point 3b -->
<point ath="-36.3461" atv="-15.0835" /> <!-- point 2b -->
<point ath="-50.2103" atv=" -2.3746" /> <!-- point 1b -->
|
To add the editor plugin, see here...
http://www.krpano.com/plugins/editor/
You can highlight, copy and past into your xml code as needed.
If you find the editor plugin is not getting you on the trail as you want it... you can try something like the "crosshairs" addition that I described here...
http://www.krpano.com/forum/wbb/index.ph…D=3390#post3390