Hi,
How to be able to move the pano from some point of the area where a hotspot is placed. It is an image hotspot.
Thank you
Hi,
How to be able to move the pano from some point of the area where a hotspot is placed. It is an image hotspot.
Thank you
Hi,
Look here: https://krpano.com/docu/xml/#layer.onover
And here : https://krpano.com/docu/actions/#lookto
So..
<hotspot ... blabla.. onover="lookto(172,10,100);" />
Or so
Hope it helps,
Tuur
Hi Tuur, thanks for your help.
It seems I wasn't clear.
I want to allow users to move the pano (and the anchored hotspot, of course) when they hold click the hotspot image and move to any desired point or direction.
That is not possible if they click on a hotspot and drag(move).
Default hotspot cursor is pointer but I have changed to default to look the same as outside the hotspot.
Thanks
Like this?
No.
That moves the hotspot. I want the hotspot fixed in its position and move the pano with the hotspot. Same as if you click-drag anywhere outside the hotspot image.
krpano.com - Examples
Hold click and drag anywhere the pano moves but if you hold click on a hotspot
Ah, i think you mean:
krpano.com - Documentation - XML Reference
Set in the hotspot: capture="false"
Tuur
It is like the hotspot image is glued on pano. You hold click and move to navigate the pano. If you try to do that clicking on the hotspot area you are not allowed to move.
capture="false" does the trick.
Don’t have an account yet? Register yourself now and be a part of our community!