Zoom/Rotate events

Folks,

Where can we get events when a user zooms or rotates the view?

Thanks

Ian

Hello Ian,

There are two events on Camera to see when the camera movement starts and ends. See Camera.moveStart and Camera.moveEnd

Also see this demo, which uses the moveStart and moveEnd events: http://analyticalgraphicsinc.github.io/cesium-google-earth-examples/examples/viewchangeEvent.html

Best,

Hannah

Hannah,

Thanks, let us take a look at these.

We also want to be able to disable all user input (zoom, pan, rotate) at certain times, say when we are replaying a specific sequence. Is there a way of easily doing this?

Thanks

Ian

On Behalf Of Hannah Pinkos

Yes! To disable inputs, set

viewer.scene.screenSpaceCameraController.enableInputs = false;

``

Then you can re-enable it by setting the value back to true.

-Hannah

Hannah,

Thanks, that was what we needed.

Regards

Ian

On Behalf Of Hannah Pinkos