How to "freeze" camera on current position?

Hello.
I want to fix the current image surface, disable the possibility of position and zoom changing via mouse. I had thought about disabling mouse handler, but it seems to me wrong. Any other ideas?

Thank.

The Camera Tutorial in Sandcastle covers how to disable mouse events: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Camera%20Tutorial.html&label=All

// disable the default event handlers
scene.screenSpaceCameraController.enableRotate = false;
scene.screenSpaceCameraController.enableTranslate = false;
scene.screenSpaceCameraController.enableZoom = false;
scene.screenSpaceCameraController.enableTilt = false;
scene.screenSpaceCameraController.enableLook = false;

``

середа, 17 червня 2015 р. 21:38:44 UTC+3 користувач Mike LP написав:

The Camera Tutorial in Sandcastle covers how to disable mouse events: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Camera%20Tutorial.html&label=All

// disable the default event handlers
scene.screenSpaceCameraController.enableRotate = false;
scene.screenSpaceCameraController.enableTranslate = false;
scene.screenSpaceCameraController.enableZoom = false;
scene.screenSpaceCameraController.enableTilt = false;
scene.screenSpaceCameraController.enableLook = false;

``

thanks, it was helpful.

Excellent :slight_smile: