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

Screen scroll while scrolling on map. #204

Open
Shadab-Majid opened this issue May 27, 2024 · 1 comment
Open

Screen scroll while scrolling on map. #204

Shadab-Majid opened this issue May 27, 2024 · 1 comment

Comments

@Shadab-Majid
Copy link

Is your feature request related to a problem? Please describe.
How to stop the globe zoom while scrolliing.

Describe the solution you'd like
want to scroll the screen while the mouse in on the globe
Describe alternatives you've considered
Try to create when double click on the map then it will rotate and zoom when people zoom . And when only scrolling is happening then just scroll the screen .

@codenomnom
Copy link

I haven't tested it, but since you can access the internal ThreeJS orbit controls object through controls(), then I guess you should be able to use enableZoom 🤞

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