<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<Placemark>
<Style>
<LineStyle>
<color>ff0000ff</color>
<width>6</width>
</LineStyle>
</Style>
<LineString>
<tessellate>1</tessellate>
<coordinates>-16.41549000000001,28.44423000000001 -16.41549000000001,28.44423000000001 -16.41505000000001,28.44430000000001 -16.41507000000001,28.44430000000001 -16.41473000000001,28.44460000000001 -16.41429000000001,28.44452000000001 -16.41430000000001,28.44453000000001 -16.41428000000001,28.44452000000001 -16.41416000000001,28.44434000000001 -16.41415000000001,28.44434000000001 -16.41397000000001,28.44408000000001</coordinates>
</LineString>
</Placemark>
</Document>
</kml>Cesium.js:172275 An error occurred while rendering. Rendering has stopped.
undefined
RangeError: Invalid array length
RangeError: Invalid array length
at updateFrustums (http://localhost/Cesium/CesiumUnminified/Cesium.js:162245:36)
at createPotentiallyVisibleSet (http://localhost/Cesium/CesiumUnminified/Cesium.js:162470:13)
at executeCommandsInViewport (http://localhost/Cesium/CesiumUnminified/Cesium.js:163163:9)
at updateAndExecuteCommands (http://localhost/Cesium/CesiumUnminified/Cesium.js:163030:17)
at render (http://localhost/Cesium/CesiumUnminified/Cesium.js:163454:9)
at Scene.render (http://localhost/Cesium/CesiumUnminified/Cesium.js:163492:13)
at CesiumWidget.render (http://localhost/Cesium/CesiumUnminified/Cesium.js:172322:25)
at render (http://localhost/Cesium/CesiumUnminified/Cesium.js:171710:32)CesiumWidget.showErrorPanel @ Cesium.js:172275(anonymous function) @ Cesium.js:172000Event.raiseEvent @ Cesium.js:4797Scene.render @ Cesium.js:163494CesiumWidget.render @ Cesium.js:172322render @ Cesium.js:171710-16.41548000000001 the file loads fine. It loads fine, too, if I remove the tessellate element.var viewer = new Cesium.Viewer(
'cesiumContainer',
{
sceneMode:Cesium.SceneMode.SCENE3D,
scene3DOnly:true,
timeline:false,
geocoder:false,
animation:false,
infoBox:false,
baseLayerPicker:false,
fullscreenButton:false,
terrainProvider:new Cesium.CesiumTerrainProvider({
url:"http://assets.agi.com/stk-terrain/world",
requestVertexNormals:true
})
}
);
var options = {
camera:viewer.scene.camera,
canvas:viewer.scene.canvas,
clampToGround:true
};
var url = 'http://visortf.grafcan.es/KML/rep/track.kml';
Sandcastle.addToolbarMenu([{
text : 'KML - Track (Tenerife)',
onselect : function() {
var kml = viewer.dataSources.add(Cesium.KmlDataSource.load(url, options));
viewer.zoomTo(kml);
}
}], 'toolbar');
Sandcastle.reset = function() {
viewer.dataSources.removeAll();
viewer.clock.clockRange = Cesium.ClockRange.UNBOUNDED;
viewer.clock.clockStep = Cesium.ClockStep.SYSTEM_CLOCK;
};