I have created a Cesium webpage that allows the user to select a kml file to display. I have it all working fine but when I change data in a kml file that was previously loaded I still see the old data not the new after I try to reload it. Here is my code:
var dataSource1 = new Cesium.KmlDataSource();
I have added the primitives.removeAll statement and tweaked the load statements to avoid promises but so far nothing seems to force a refresh of the data file.
What do I need to do to get Cesium to "throw away" the previous data and reload the data file that has been updated?