Pinch zoom to center on touch center (bug 1697)

Q&A about the latest versions
Post Reply
nich008
Posts: 17
Joined: Mon Apr 13, 2015 9:50 pm

Wed Sep 04, 2019 2:22 pm

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
nich008
Posts: 17
Joined: Mon Apr 13, 2015 9:50 pm

Thu Sep 26, 2019 4:08 pm

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
User avatar
thomas
Chief Gnome
Posts: 2544
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

Fri Sep 27, 2019 11:45 pm

Hello John,

this option is currently planned for the next major release.
MfG, Thomas
nich008
Posts: 17
Joined: Mon Apr 13, 2015 9:50 pm

Wed Oct 02, 2019 12:50 pm

Thanks Thomas - I look forward to it
Post Reply