Cesium – How to make an InfoBox pop up on demand ?

var entity = new Cesium.Entity('Title to put in the infobox');
entity.description = {
    getValue : function() {
        return 'HTML to display in the infobox';
    }
};
viewer.selectedEntity = entity;
Share

Leave a Reply

Your email address will not be published. Required fields are marked *