Displaying DynamicBillboardVisualizer from CZML

Hi all,

I’m having trouble displaying CZML I get from the server onto my scene. Here’s my CZML:

[

{
“id”: “311946283”,
“position”: { “cartographicDegrees”: [-84.390433, 33.747933, 0.0] },
“billboard”:{
“horizontalOrigin”:“CENTER”,
“image”:“http://localhost:90/images/City.png”,
“scale”:".4",
“show”:[
{
“boolean”:true
}
],
“verticalOrigin”:“CENTER”
}
}
,
{
“id”: “311946282”,
“position”: { “cartographicDegrees”: [-86.157862, 39.766431, 0.0] },
“billboard”:{
“horizontalOrigin”:“CENTER”,
“image”:“http://localhost:90/images/city.png”,
“scale”:".4",
“show”:[
{
“boolean”:true
}
],
“verticalOrigin”:“CENTER”
}
}
,
{
“id”: “311946272”,
“position”: { “cartographicDegrees”: [-80.002615, 40.441933, 0.0] },
“billboard”:{
“horizontalOrigin”:“CENTER”,
“image”:“http://localhost:90/images/city.png”,
“scale”:".4",
“show”:[
{
“boolean”:true
}
],
“verticalOrigin”:“CENTER”
}
}

]

And my JS:

var czmlSource = new Cesium.CzmlDataSource();
czmlSource.loadUrl(url);

var objects = czmlSource.getDynamicObjectCollection();
console.log('objects: ’ + objects);
var billboards = new Cesium.DynamicBillboardVisualizer(scene, objects);

And what is printing to console:

Console output looks good. Did you compare your code to the CZML example? You shouldn’t need to create your own DynamicBillboardVisualizer.

–Ed.