Hello Members,
In my project 3d map is there, when I zoom-in or zoom-out its going only in center of the map.see code. But how to pan screen and zoom at the corner of map. like this.
Thank You…!
Sandip D.
Hello Members,
In my project 3d map is there, when I zoom-in or zoom-out its going only in center of the map.see code. But how to pan screen and zoom at the corner of map. like this.
Thank You…!
Sandip D.
You’re using THREE.OrbitContorls()
. It already supports panning with right mouse button.
@prisoner849, on right click its rotating
here peace of code
var controls = new THREE.OrbitControls( camera );
controls.damping = 0.2;