Remove obsolete CZML from Cesium


we're working on realtime system which uses Cesium to show data from both simulation and real feeds. Since it is real time we have no interest in enabling someone to look back to the past, so we would like to clear obsolete CZML objects from the Cesium. By obsolete I mean that the current time is no longer within the availability interval of the object.

Is there a way to do it automatically or do I have to iterate trough objects in the scene and remove them manually?


In CZML, you can define a packet that will delete an entire object by ID. Here’s the pull request:

You can ignore the discussion on the request. Caleb’s initial example at the top is the working syntax.