Hello,
I try to get hotspots in my CYLINDER gigapixel pictures with a mouse click. In the horizontal plane, it shows the hotspots correctly. However, they all always appear at the same height vertically. I hope someone here can give me a tip where I'm making the mistake?
Example: https://www.viewer.firstkitzbuehel.com.dev.futurecms.at/
Code
<action name="clickHostspot">
screentosphere(mouse.x, mouse.y, h, v);
trace("mouse.x: ",mouse.x, " - mouse.y: ", mouse.y, " - h: ",h, " - v: ",v);
txtadd(hs, 'hs_', get(hotspot.count));
addhotspot(get(hs));
set(hotspot[get(hs)].url, 'berg.png');
copy(hotspot[get(hs)].ath, h);
copy(hotspot[get(hs)].atv, v;
</action>
thx, bye from Austria
Andreas