Editing the infobox

Hi,

I’m creating a website with javascript and working with cesiumjs. I embedded the 3D OSM Buildings in this website. But i want to change the entities in infobox pop up when i click. How can i change the infobox. Is it possible creating a new infobox or deleting infobox?

Hello there,

It depends what exactly you want to do with the info box. If you want to theme it but keep the old functionality, you can create a CSS file and override the default styling as described in this thread.

Otherwise, you can disable the infobox entirely and create a new widget with the exact functionality you’re looking for. You can keep the infobox widget from being created by passing infoBox: false when creating a new Viewer widget.