Rotate the 3D object is detached from the image provider

Hello, I have a problem … When you rotate the 3D object is detached from the image provider … How I can fix it? … I am using data GeoJSON … Thanks for the help

original image

image with rotation

This is my code

Cesium.Math.setRandomNumberSeed(0);

var data = Cesium.GeoJsonDataSource.load(‘…/…/SampleData/mzatte1_region.geojson’);

data.then(function(dataSource) {

viewer.dataSources.add(dataSource);

viewer.zoomTo(dataSource);

// Traer el conjunto de entidades

var entities = dataSource.entities.values;

for (var i = 0; i < entities.length; i++) {

//Para cada entidad, crear un color al azar basado en el ID de manzana

var entity = entities[i];

if(entity.properties.area<=1000.00){

entity.polygon.material = Cesium.Color.ALICEBLUE;

}else if(entity.properties.area<=5000.00){

entity.polygon.material = Cesium.Color.LIGHTBLUE;

}else if(entity.properties.area<=50000.00){

entity.polygon.material = Cesium.Color.CORNFLOWERBLUE;

}else if(entity.properties.area<=100000.00){

entity.polygon.material = Cesium.Color.STEELBLUE;

}else{

entity.polygon.material = Cesium.Color.NAVY;

};

entity.polygon.outline = Cesium.Color.BLACK;

entity.polygon.outlineWidth = 5;

entity.polygon.stRotation = 0.0;

entity.polygon.extrudedHeight = entity.properties.area/500;

}

}).otherwise(function(error){

//Display any errrors encountered while loading.

window.alert(error);

});

Help

Hello,

The main cause of a problem like this is having geometry that does not exactly lie on the surface of the globe.

Do you have terrain on? Do your polygons have a non-zero height away from the surface?

Could you provide me with some sample data if you are still having a problem with this?

Thanks,

Hannah