I know that you can programmatically delete/remove a czml entity by processing the { id: ‘’, delete: true } but is there a way to completely remove the existence of a specific property in czml without deleting it?
For instance, say I have an entity similar to…
{
id: "some id",
name: "some object",
billboard: {
show: true,
image: '...path to image',
},
label: {
text: 'some label text',
show: true
}
}
and now I want to remove the label completely. I know I could set it’s show value to false to hide it, but, the way I’m currently implementing a few things within my application, I look at the entity to determine what kind of properties it has on it in order to provide forms to customize aspects of that entity. I’d kind of like to be able to just remove the label property from the entity instead of just hiding it. The way that cesium processes partial objects and updates them accordingly makes it so that I can’t just omit that key, and I believe that setting it to undefined doesn’t work either because that is equivalent to just omitting it.
Thoughts?
Also, I’ve asked this multiple times in the past. Are there any plans to update czml documentation at some point?