load a different czml on the fly

Hi,
   I'm trying to develop a satellite orbit tracker wherein one can select a satellite and the system will generate czml data and load it on to cesium. This works fine for one satellite but when I load a different czml after it has initially loaded one, it wont reflect the new data. So my question is, is there a way to reload cesium to use the new czml data on the fly? Please Help

Bryan

Hi Bryan,

You should be able to load in the new data without issue, see the CZML example and toggle back and forth between the two CZMLs. If you’re still having trouble, can you give us a code snippet or preferably a Sandcastle example showing the issue?

Thanks,

Gabby