Hi, We were using an old cesium version (1.10) loading the scenes using CZML and we decided to update it to 1.29. We found that one of our examples didn't work with the new version. I've beeing looking for additional info but I didnt find any similar problem in the forum (sorry if it is dupplicated).
We create an ellipsoid that changes its position and radii on an interval. Once the CZML is loaded in cesium, it points to a random positon on the space. I click the "home" button to move the camera to the earth and I can see the red point of the CZML. When I double click on it, the camera moves again to a random position of the space and I see nothing.
If I use the same czml without the ellipsoid and I repeat previous steps, the sample works fine. I also checked in sandcastle that the ellipsoids with no sampled data also are zoomed fine. So the problem seems to be the use of the ellipsoid + time dynamic data.
Any ideas? Thanks in advance.
Check the code here:
var czml = [{
"id":"document",
"version":"1.0",
"clock":{
"interval":"2015-11-03T00:00:00Z/2015-11-04T00:00:00Z",
"currentTime":"2015-11-03T00:00:00Z",
"multiplier":10,
"range":"UNBOUNDED",
"step":"SYSTEM_CLOCK_MULTIPLIER"
}
},
{
"id":"SAT",
"name":"SAT",
"point":{
"color":{
"rgba":[
255,0,0,255
]
},
"show":true,
"pixelSize":5
},
"position":{
"interpolationDegree":5,
"interpolationAlgorithm":"LAGRANGE",
"epoch":"2015-11-03T00:00:00Z",
"cartesian":[
0,41135569.83604452,10529445.08775081,-2592340.399843352,
9693,24802054.373201564,34533648.14522849,-1254190.962921509,
19386,-3119320.0214920063,42400209.400282934,670092.773882628,
29080,-29578699.66305307,30434388.12677617,2280914.529707506,
38773,-42183770.93257903,4217403.0070346575,2823482.7169600846,
48467,-35016137.616095856,-23975133.74977094,2042545.558970656,
58160,-11433606.240267385,-40929571.96347262,303927.2016867829,
67854,17507171.946269713,-38712023.81421206,-1577394.5068920546,
86400,41691026.277549595,8031384.871797217,-2657222.265938431
]
},
"ellipsoid":{
"radii":{
"epoch":"2015-11-03T00:00:00Z",
"cartesian":[
0,952.1529108575653,160.27592173538292,23.918865122711754,
9693,901.9691398345186,159.36635646200654,26.238895837307286,
19386,881.8835050647224,158.5274798119592,27.357939070630113,
29080,852.6432917149185,157.75854515111405,29.336547217628674,
38773,814.4931393637447,157.06122428665418,31.654726580888436,
48467,787.109314109322,156.43847267687002,33.66166228842491,
58160,752.8332929461376,155.8895157977463,36.13946995177457,
67854,725.923364204505,155.41721491778128,38.46002659858811,
86400,693.012092067969,155.02046376495323,41.25095480674983
]
},
"fill":true,
"outline":false,
"outlineColor":{
"rgba":[
0,255,0,255
]
},
"slicePartitions":25,
"stackPartitions":35
}
}];
var viewer = new Cesium.Viewer('cesiumContainer');
var dataSource = Cesium.CzmlDataSource.load(czml);
viewer.dataSources.add(dataSource);
viewer.zoomTo(dataSource);