Thank you
but is it really helps?
I try this in Sandcastle and get the same effect
var viewer = new Cesium.Viewer(‘cesiumContainer’);
Sandcastle.addToolbarMenu([{
text : ‘KML - Global Science Facilities’,
onselect : function() {
viewer.homeButton.viewModel.command();
viewer.dataSources.add(Cesium.KmlDataSource.load(’…/…/SampleData/kml/facilities/facilities.kml’));
}
}, {
text : ‘KMZ with embedded data - GDP per capita’,
onselect : function() {
viewer.homeButton.viewModel.command();
viewer.dataSources.add(Cesium.KmlDataSource.load(’…/…/SampleData/kml/gdpPerCapita2008.kmz’));
}
}, {
text : ‘gx KML extensions - Bike Ride’,
onselect : function() {
viewer.dataSources.add(Cesium.KmlDataSource.load(’…/…/SampleData/kml/bikeRide.kml’)).then(function(dataSource){
viewer.clock.shouldAnimate = false;
var rider = dataSource.entities.getById(‘tour’);
viewer.flyTo(rider).then(function(){
viewer.trackedEntity = rider;
viewer.selectedEntity = viewer.trackedEntity;
viewer.clock.multiplier = 30;
viewer.clock.shouldAnimate = true;
});
});
}
}], ‘toolbar’);
var cesiumTerrainProviderMeshes = new Cesium.CesiumTerrainProvider({
url: ‘//assets.agi.com/stk-terrain/world’,
requestWaterMask: true,
requestVertexNormals: true
});
viewer.scene.terrainProvider = cesiumTerrainProviderMeshes;
Sandcastle.reset = function() {
viewer.dataSources.removeAll();
viewer.clock.clockRange = Cesium.ClockRange.UNBOUNDED;
viewer.clock.clockStep = Cesium.ClockStep.SYSTEM_CLOCK;
};