Disable mouse right down zoom

Hello everyone :raised_hand_with_fingers_splayed:
I would like to disable zoom function mapped to “mouse right down” event. In my opinion this is excessive I would like to keep only scroll wheel and pinch zoom working.
Maybe someone could help me? :thinking:
Thank you.

You should be able to do this by modifying the screen space camera controller as suggested here: Switching shift/control+mouse camera behavior

Thanks for help!

Code line below works for me (both on mobile and desktop devices):
viewer.scene.screenSpaceCameraController.zoomEventTypes = [Cesium.CameraEventType.WHEEL, Cesium.CameraEventType.PINCH];

1 Like