vasturiano / globe.gl

UI component for Globe Data Visualization using ThreeJS/WebGL
https://vasturiano.github.io/globe.gl/example/world-population/
MIT License
2.03k stars 301 forks source link

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

Closed AnnyBon closed 3 years ago

AnnyBon commented 3 years ago

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 commented 3 years ago

Three.js OrbitControls

.enableZoom : Boolean (set false)

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