If you turn off the gyro at -90 | 90.
The layer that becomes dragable is the hotspot layer not the panorama.
Tested on iPad2.
GYRO plugin bug
-
-
Hi,
sorry, I don't understand - "dragable hotspot layer"
what do you mean - what happens exactly?best regards,
Klaus -
If the view is EXACTLY 90 or -90 and you turn off the GYRO..
The panorama becomes NOT dragable, except for the layer with the hotspots.Its very strange.
-
Hi,
okay, after a lot of testing I was able to reproduce that,
I need to check this in detail but I think the problem might be a too small "camroll" value (the camroll was calculated dynamically by the gyro plugin):
when a value becomes very small and converted to a string then JS prints the value in the form "1.2345e-10" but when putting a number in that from to a CSS 3D transform style then the rendering fails (can be called a browser bug),
for hlookat, vlookat and fov I'm already checking and correcting this situation but not for the "camroll" setting - I will add that in the next release,best regards,
Klaus -
Hi once more,
I have now checked that in detail and my assumption with the "camroll" was right (the bug will be fixed in the next release),
but a xml workaround for this bug is also possible - check if the "camroll" variable contains an 'e' character and in this case set it to 0:
Code<events onviewchange="indexoftxt(camrollbug,get(view.camroll),e); if(camrollbug GT 0, set(view.camroll,0));" />
best regards,
Klaus -
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!