Disable baseLayerpicker and billboard visibility


I don’t know if it is a bug or not but I notice that when I disable baselayerpicker widget, then when I add billboard via viewer.entities.add, this billboard is always visible while terrain height should hide it, is this normal ?


Does setting viewer.scene.globe.depthTestAgainstTerrain = true fix it? See: https://cesium.com/docs/cesiumjs-ref-doc/Globe.html?classFilter=globe#depthTestAgainstTerrain

Thanks Omar ! it works !

1 Like