Posible bug with Cesium removing KML datasource and setting timeline/animation to TRUE.

Hi at all,

I'm a GWT SW developer. I'm implementing GWT-Cesium web and I had a problem that I think could be a Cesium bug.

The problem is the following:

1. Create the Cesium globe with animation and timeline set to TRUE.
2. Load KML file with 'Cesium.KmlDataSource' object, it works fine.
3. Remove the datasource from the Cesium globe with the method 'remove' from 'DataSourceCollection' object. I do the following:
    viewer3D.getDataSources().remove(kmlDataSource, false);
4: The Cesium globe is frozen and I have to refresh the browser.

To solve the problem I did the following:
1: Create the Cesium globe with animation and timeline set to FALSE.
2: Removing a KML datasource works fine.

I tested this problem with Cesium 1.15 and 1.17 and its the same.

Thanks in advance.
Mario.

Hello Mario,

I wasn’t able to reproduce this. Is there any kind of error message in the console? Could you send a sample KML file that causes the crash?

It would also help me if you posted a code sample in case there’s a difference between what I did based on your instructions and what you did.

Thanks,

Hannah