You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, October 23rd 2012, 10:45am

catch event "pinch to zoom" on IPad

Hi,

is there an event or a way to detect pinch to zoom on a layer on IOS?

regards

2

Wednesday, October 24th 2012, 2:05pm

Hi,

on touch devices the onmousewheel event will be called on touch-zooms,

best regards,
Klaus

3

Wednesday, October 24th 2012, 6:52pm

thanks,

so i suppose the delta will tell if it's in or out pinch to zoom :)

will have a test soon.

regards

4

Thursday, October 25th 2012, 6:41pm

dear Klaus,

it seems that on IPad, even if a layer is visible with capture="true", if user pinch to zoom on it the panorama still zooms on background.

is there a fix?

best regards

5

Thursday, October 25th 2012, 7:32pm

PS:

gave it a try, the mousewheel event allows to lauch a scale tween on a layer with negative or positiove value according to wheeldelta, but how to stop it?

i mean the onmouseup event is not fired when multitouch is involved so no possibility to call a stoptween on mouse up.

and wheeldelta does not seem to go back to 0 or something when event is not fired

regards