I am using style (changing color) on the features/ buildings on the basis of my query. But I am facing issue that when I am doing pane on map or zooming in/out then on mouse hovering on buildings is removing the style color and giving an error.
Hi @Jacky , I am not applying any conditions on mouse move, I am styling buildings using buildingid just simple style (changing color of the selected building). below is the code that I have written
tileset.style = new Cesium.Cesium3DTileStyle({
color: {
conditions: [
[“${buildingid} === ‘118023456’”, “color(‘red’)”],
],
},
});
this code is working as per my requirement.
But when I am doing pane on map or zooming in/out, then hovering mouse on selected building, the istyled color is getting removed permanently with below error