Quick question - disable default click

Hi! Is there any way to disable the default click behaviour? I do not want this infobox opening when clicking the globe:

Screenshot from 2018-09-11 10-03-31.png


Actually this is not the default behaviour, as I don’t see it in sandcastles, but I don’t know why I am experiencing this. Anytime I click, the box opens.

It actually is the default behavior - it gets overridden if the viewer disables this widget:

var viewer = new Cesium.Viewer(‘cesiumContainer’, {

infoBox: false



Or I think if a click event is registered as well. You can see a list of all the viewer options in the docs: https://cesiumjs.org/Cesium/Build/Documentation/Viewer.html

Oh okay, I had a typo! “infobox”, thanks!