b28 GeoJSON display problems

Since the b28 update my GeoJSON vector graphics do not show up anymore. I checked through the changelog, but am really not sure what change has caused the errors. Could somebody please look at my code and point me in the right direction? I realize it is probably something very simple, but I am new to js and struggling to find the problem. Thanks in advance http://jsfiddle.net/ageojones/T6mck/


Extent was renamed to Rectangle. See https://github.com/AnalyticalGraphicsInc/cesium/blob/b28/CHANGES.md for the full list.

Change line 22 to:

var extent = new Cesium.Rectangle(west, south, east, north);

scene.camera.viewRectangle(extent, ellipsoid);

You may also prefer to use the more convenient Rectangle.fromDegrees function.

Thank you!

It seemed to start to load the points and then, I am getting some errors:

An error occurred while rendering. Rendering has stopped.
TypeError: undefined is not a function
TypeError: undefined is not a function
    at updateObject
    at DynamicBillboardVisualizer.update
    at DataSourceDisplay.update
    at http://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:131851:47
    at Event.raiseEvent
    at Clock.tick
    at CesiumWidget.render
    at Viewer.render


Many, many thanks

Is it at all possible to use the old version of the API?

I am supposed to be showing this on monday and cannot make it work.


I found b27 and am using a copy on my webserver. Thanks

DynamicBillboard properties must be instances of one of the Property types. Change line 33 to:

billboard.horizontalOrigin = new Cesium.ConstantProperty(Cesium.HorizontalOrigin.CENTER);

billboard.verticalOrigin = new Cesium.ConstantProperty(Cesium.VerticalOrigin.BOTTOM);