Is it possible to automatically close the tooltip (Cesium info-box), when the entity is hidden?

Hello everyone,

Is it possible to automatically close the tooltip (Cesium info-box), when the entity is hidden?

With Google Earth, as the figure below, when you uncheck the checkbox on the left side, the entity does not appear and the tool tip is automatically closed.

I have already found a solution to hide the entity, my problem is to close the automatic tooltip

Thank you

Hello,

When you hide your entity, call viewer.selectedEntity = undefined;

This will unselect the entity and hide the infobox.

Best,

Hannah

Hello Hannah,

It’s works!!

Thank you!

Best,
Jules d’As