Hi! Is there any way to disable the default click behaviour? I do not want this infobox opening when clicking the globe:
Thanks!
Hi! Is there any way to disable the default click behaviour? I do not want this infobox opening when clicking the globe:
Thanks!
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!