I'm starting my first project with Cesium. The idea is to periodically retrieve live positional data of an object over ajax/websockets. That data is some raw values and will not be CZML. There can be many objects being displayed at once.
I want to organize this data as CZML inside Cesium. What is the proper way to do this? If I go by the Sandcastle example, I could be manipulating the raw CZML JSON and changing the position, intervals, and availability. Then I re-create the data source, load the updated CZML, and add it to the viewer. This seems inefficient.
I've been going over the documentation and it seems like accessing the CzmlDataSource/DynamicObjectCollection/DynamicObject is a better way to go.
What is the "proper" way to manipulate dynamic positional data in Cesium?