As you didn't share any code or link I will try to explain:
- Most probably you have button that turn autorotation on/off. There you have to set some variable e.g. autorotation_turned_on to true. Just to keep the state of autorotation.
So, find the code where you are turning autorotation on and add the following:
|
Source code
|
1
|
set(autorotation_turned_on, true);
|
Where you turning it off put:
|
Source code
|
1
|
set(autorotation_turned_on, false);
|
In your hotspot definition add:
|
Source code
|
1
|
onover="if(autorotation_turned_on,set(autorotate.enabled,false));"onout="if(autorotation_turned_on,set(autorotate.enabled,true));"
|
Justs tested and it is working fine.