I added a button for stopping and starting autorotate.
Found this code.
onclick="switch(autorotate,false,true);invalidatescreen();"
1. Why is the invalidatescreen();" needed for this? It does not work without and I can not see any connection in the documentation at all with autorotate.
2. The autorotate function is added as a global function, but still it starts every time I change pano.
I assumed that by adding it globally I could also control it globally.
If I ad a button with onclick="switch(hotspot.visible);" it works for all scenes so why is not the switch autorotate work for all.
Another thing. When you use the switch for stop/start autorotate it should of course override the wait time set in the Autorotate code but it does not.
Hans