How to disable camera zooming when double click on an entity

605 views
Skip to first unread message

Мельник Олександр

unread,
Jul 29, 2015, 6:39:16 AM7/29/15
to cesium-dev
The default behaviour for double click is zoom in and change tilda (angle) view when double click on (or near of) an entity. This conflicts with custom double click event.
How to disable it? 

Willem van der Gugten

unread,
Jul 29, 2015, 8:31:11 AM7/29/15
to cesium-dev, meln...@gmail.com
Check the topic "Questions about double click on entities", which was last updated July 27th.

Hannah Pinkos

unread,
Jul 29, 2015, 11:11:46 AM7/29/15
to cesium-dev, meln...@gmail.com, wil...@oculustechnologies.nl

Мельник Олександр

unread,
Jul 29, 2015, 11:47:15 AM7/29/15
to cesium-dev, meln...@gmail.com
Thanks guys, got it. This seems working:
this.viewer.screenSpaceEventHandler.removeInputAction(Cesium.ScreenSpaceEventType.LEFT_DOUBLE_CLICK);
Reply all
Reply to author
Forward
0 new messages