Hello everybody,
Please run the Sandcastle clustering demo, just replace the URL in KmlDataSource.load with:
For me, rendering crashes with the following messages:
An error occurred while rendering. Rendering has stopped.
undefined
TypeError: Unable to get property ‘get’ of undefined or null reference
TypeError: Unable to get property ‘get’ of undefined or null reference
at addNonClusteredItem (http://cesiumjs.org/Cesium/Source/DataSources/EntityCluster.js:146:13)
at Anonymous function (http://cesiumjs.org/Cesium/Source/DataSources/EntityCluster.js:387:21)
at EntityCluster.prototype.update (http://cesiumjs.org/Cesium/Source/DataSources/EntityCluster.js:721:13)
at PrimitiveCollection.prototype.update (http://cesiumjs.org/Cesium/Source/Scene/PrimitiveCollection.js:366:13)
at updatePrimitives (http://cesiumjs.org/Cesium/Source/Scene/Scene.js:2190:9)
at executeCommandsInViewport (http://cesiumjs.org/Cesium/Source/Scene/Scene.js:2100:9)
at updateAndExecuteCommands (http://cesiumjs.org/Cesium/Source/Scene/Scene.js:1968:17)
at render (http://cesiumjs.org/Cesium/Source/Scene/Scene.js:2398:9)
at Scene.prototype.render (http://cesiumjs.org/Cesium/Source/Scene/Scene.js:2436:13)
at CesiumWidget.prototype.render (http://cesiumjs.org/Cesium/Source/Widgets/CesiumWidget/CesiumWidget.js:683:13)
The KML demo does not crash with this URL.
Also this demo does not crash if you request outputFormat=json in the URL and of course replace KmlDataSource by GeoJsonDataSource in the code.
By the way, the response to this URL consists of just 2 placemarks.
Thanks, Boris.