processCzml

processCzml

Processes the provided CZML, creating or updating DynamicObject instances for each corresponding CZML identifier.

Parameters:
Name Type Argument Default Description
czml Object The parsed CZML object to be processed.
dynamicObjectCollection DynamicObjectCollection The collection to create or updated objects within.
sourceUri String <optional>
The uri of the file where the CZML originated from. If provided, relative uri look-ups will use this as their base.
updaterFunctions Array <optional>
CzmlDefaults.updaters The array of updated functions to use for processing. If left undefined, all standard CZML data is processed.
Throws:
Returns:
An array containing all DynamicObject instances that were created or updated.
Example
var url = 'http://someUrl.com/myCzmlFile.czml';
var dynamicObjectCollection = new DynamicObjectCollection();
loadJson(url).then(function(czml) {
    processCzml(czml, dynamicObjectCollection, url);
});
Source: