Remove obsolete CZML from Cesium

270 views
Skip to first unread message

letal....@gmail.com

unread,
Jun 17, 2014, 7:43:48 AM6/17/14
to cesiu...@googlegroups.com
Hi,

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?

Thanks
Vojta

Scott Hunter

unread,
Jun 27, 2014, 2:59:32 PM6/27/14
to cesiu...@googlegroups.com
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.



--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages