How to use unsupportedNodeEvent

Hello everybody,

I load a KML file as follows:

var ds = new Cesium.KmlDataSource(some-options);
var helper = new Cesium.EventHelper();
helper.add(ds.unsupportedNodeEvent, function (arg) {
    console.dir(arg);
});

ds.load(URL, some-options);
// and then added to viewer.dataSources

The data gets loaded with many console messages "KML - SchemaData is unsupported",
but the event handler never gets called.

Any idea what I'm doing wrong?

Thanks, Boris.

Thanks for reporting this, Boris. This looks like an oversight on our part. We’re currently only properly raising the event for a handful of cases.
I’ve filed an issue here for us to fix this: https://github.com/AnalyticalGraphicsInc/cesium/issues/4190

Best,

Hannah