Page 1 of 1

Pinch zoom to center on touch center (bug 1697)

Posted: Wed Sep 04, 2019 2:22 pm
by nich008
Hi
Is bug 1697 fixed?
https://ggnome.com/bt/view.php?id=1697

The description of bug 1697:
"If you pinch zoom, the center of zoom is in the screen center. It should be in the touch center"

I'm using both jquery.panzoom and Pano2VR in a mobile project (hoping to use Pano2VR throughout) but the difference in zoom behaviour is jarring, and shows up the lack of touch centre zooming.

Is there a fix/workround/patch/upgrade that fixes this? I'm on Pano2VR 5.2.3.

Thanks
John

Re: Pinch zoom to center on touch center (bug 1697)

Posted: Thu Sep 26, 2019 4:08 pm
by nich008
Update to my question about bug 1697, in the absence of any feedback:
Same applies on Pano2vr 6.1 Beta 3b

To explain the issue, if you pinch zoom in on Google Maps on a mobile device, Google Maps will set the focal point of the zoom as a point between your fingers. On the desktop, the current mouse position is used. The zoom process tries to keep this point stationary, so you zoom in on your point of interest.

On Pano2VR the zoom point seems to always be the centre of the window, so you may actually see your point of interest disappear off the side of the window as you zoom in.

It would be really good if the Pano2VR player could offer the option to zoom like Google Maps. Could that be possibility?

Thanks
John

Re: Pinch zoom to center on touch center (bug 1697)

Posted: Fri Sep 27, 2019 11:45 pm
by thomas
Hello John,

this option is currently planned for the next major release.

Re: Pinch zoom to center on touch center (bug 1697)

Posted: Wed Oct 02, 2019 12:50 pm
by nich008
Thanks Thomas - I look forward to it