Double click zoom

Hi,

How to perform a zoom in on double click?

I wanted to add a new item to ScreenSpaceCameraController#zoomEventTypes [1] but CameraEventType [2] does not contains a double click event.

(ScreenSpaceEventType has a LEFT_DOUBLE_CLICK [3] event)

Thanks,

fredj

[1] https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/ScreenSpaceCameraController.js#L186
[2] https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/CameraEventType.js
[3] https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Core/ScreenSpaceEventType.js#L45

Hello,

You would have to add custom code to accomplish this behavior. You would have to add the event to CameraEventType, and make changes to the CameraEventAggregator and the ScreenSpaceCameraController to handle the new type.

Best,

Hannah