You are not logged in.

Johannes

Beginner

  • "Johannes" started this thread

Posts: 28

Location: South Africa

Occupation: Photographer

  • Send private message

1

Sunday, January 30th 2011, 2:13pm

<autorotate>

Hi there.

Im busy implementing the auto rotate function of a pano is it possible to have the pano to auto rotate at start or completion of loading and then the moment the user click on pano to move manually it must stop auto rotating for like 60secs and then auto rotate again.

Is it possible ?

Code below :

<action name="onstart">
set(autorotate.waittime, 0);
</action>
<events onviewchange="set(autorotate.waittime, 5)"/>


Tried code above but doesn't work can some one advise please :)
Johann Victor.
Virtual Tour Photographer.
http://www.virtualtours360.co.za/
http://virtualtourphotographer.net

+27828552611

2

Friday, February 4th 2011, 8:02am

Hi!

If i got it right, you want to change the wait time of autorotate to be 60 sec? This can be easily done with this code:

Source code

1
2
3
4
5
6
7
    <autorotate enabled="true" 
            waittime="1.0" 
            accel="1" 
            speed="3"
            horizon="0" 
            tofov="90" 
            />


Just change waittime to be your wanted value and it will affect the autorotate :) Check the documentation for autorotate here

Hope this helped!

Regards,
Jesse Passoja
Nelike Imagery
www.inelike.fi
Jesse Passoja
Passoja design
www.passojadesign.com

3

Thursday, December 5th 2013, 9:12pm

Thx for the code!