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

Globe fixed Zoom (Disable Zoom-In/ Zoom-Out) #29

Closed
AnnyBon opened this issue Jan 16, 2021 · 1 comment
Closed

Globe fixed Zoom (Disable Zoom-In/ Zoom-Out) #29

AnnyBon opened this issue Jan 16, 2021 · 1 comment

Comments

@AnnyBon
Copy link

AnnyBon commented Jan 16, 2021

How can I set the globe to a fixed size and disable zoom in and out feature?
Zoom in out includes two finger scroll zooming and mouse wheel zooming...
Fixed size means a responsive size such as using percentage sizing...

Thanx in advance for the support...

@AnnyBon AnnyBon closed this as completed Jan 16, 2021
@AnnyBon
Copy link
Author

AnnyBon commented Jan 16, 2021

Three.js
OrbitControls

.enableZoom : Boolean (set false)

https://threejs.org/docs/#examples/en/controls/OrbitControls

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

1 participant