Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement two-finger zoom on the mobile terminal #436

Open
EarhartZhao opened this issue Dec 21, 2023 · 4 comments
Open

How to implement two-finger zoom on the mobile terminal #436

EarhartZhao opened this issue Dec 21, 2023 · 4 comments

Comments

@EarhartZhao
Copy link

Description

I find a demo https://naver.github.io/egjs-view360/v3/examples/panoviewer/controls/motion-touch.html.
But I did not find the corresponding api and code under the v4 version.

@nguyenph194812
Copy link

i also found out that zoom using 2 fingers on mobile device is unavailable, and the interaction on mobile is very laggy

@EarhartZhao
Copy link
Author

i also found out that zoom using 2 fingers on mobile device is unavailable, and the interaction on mobile is very laggy

I set the options
zoom: { duration: 500 }, zoomRange: { min: 0.4, max: 2 },
and it work. you can try it.

@nguyenph194812
Copy link

nguyenph194812 commented Mar 6, 2024

@EarhartZhao i set as you but i still cant zoom using 2 fingers on android. can u check it on the homepage of the library ?

@EarhartZhao
Copy link
Author

@nguyenph194812 I write a https://github.com/EarhartZhao/view360-demo and can implement two-finger zoom on one plus 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants