We use czml exclusively and have been setting the parent id on our objects so that we can track what they are associated to. Since Cesium doesn’t currently support the ability to remove all children when a parent is removed, I watch the collection events and if the parent is removed, I loop its children and remove those as well. I’ve noticed though, if you remove a child, the
_children property on the parent doesn’t seem to update. Is this intentional for some reason? Or is there a way that I can tell that thing to update its children list so that it remains up to date and accurate? I was intending on using that array to list associated, child entities in the infobox.
Also, since some of the other posts I’ve found have asked if
children could be made more easily available, I’d like to see that added as well. If we have the ability to set the parent on an entity, why not expose the ability to see the parent/child relationships of the entities?
I know this is supposedly a private property that, maybe we shouldn’t be using in the first place but, it’s there and has been serving my needs until this instance. Also, people have asked for similar, at least here and here.