[cesium-dev] How to disable default user input?

Hi Lydia,

There is no default behavior, but if you were using some sample code, you might have enabled it. If you have a line similar to


Then deleting it will cause drag and drop to use the standard browser behavior instead of trying to load the document.

If you don’t have such a line, can you give some more details about your application and what behavior you are seeing?


Hi Matthew,

I am using the Cesium Widget:
var viewer = new Cesium.CesiumWidget('cesiumContainer');

I am also using the sample code (from Sandcastle) for the 'Draw Extent' function. In that code, it has: this.diableInput() and this.enableInput(). However, maybe I just don't know how to use the 'this' keyword, but including those lines of code in my function give me, 'this is not defined' and 'disableInput() is not defined'.

Thanks for your help.