Hi guys
I am very new to Cesium and tried to run the DataSources ‘czml’ example to get started on moving point data. All the right elements show on the map but the objects do not move. They just vibrate on the spot. Is someone able to help me get started please?
Here is the associated code.
viewer = new Cesium.Viewer(‘cesiumContainer’, {
imageryProvider: new Cesium.WebMapServiceImageryProvider({
url: terrainData.terrainUrl,
subdomains: terrainData.terrainSubdomains,
layers: terrainData.terrainImagery,
enablePickFeatures: true
}),
animation: true,
scene3DOnly: true,
baseLayerPicker: false,
fullscreenButton: true,
geocoder: false,
homeButton: false,
infoBox: false,
sceneModePicker: false,
selectionIndicator: false,
timeline: true,
navigationHelpButton: false,
creditContainer: ‘creditDiv’,
contextOptions: { failIfMajorPerformanceCaveat: false },
});
// Do TerraExplorer initialization related stuff inside initTE()
initTE();
// destination : Cesium.Cartesian3.fromDegrees(117.87721, -22.16342, 15000.0)
//});
viewer.dataSources.add(Cesium.CzmlDataSource.load(’./data/FMEMachinePositions/simple.czml’));
viewer.camera.flyHome(0);