I have an application where KML data is continuously generated and updated every second. Currently, I am displaying this data on a Cesium map using the following code:
var viewer = new Cesium.Viewer('cesiumContainer');
viewer.dataSources.add(Cesium.KmlDataSource.load('link to live data stream'));
While this setup works well for the initial data display, it does not update dynamically with new information. What would be the most efficient approach to refresh the KML data in Cesium every one or two seconds to ensure that the map reflects real-time changes?
Thank you!