I am using Firefox 37.01 on a Windows 7 machine and am seeing some erratic behavior from the following entity.
var thebox=viewer.entities.add({
name : 'Area Boundary',
polygon :{
hierarchy : Cesium.Cartesian3.fromDegreesArray([
-90.1922703175,38.6286636758,
-90.1913863335,38.6284448384,
-90.1911445344,38.6290409171,
-90.1920285262,38.6292597554,
-90.1922703175,38.6286636758
]),
material : Cesium.Color.GREEN.withAlpha(0.9),
outline : true,
outlineColor : Cesium.Color.BLACK,
height : -5.0
}
}
);
What is happening is that the outline is present but the green interior goes on and off as I step through the Menu.
Again, the URL is http://vcities.ite-stl.org/Cesium/Apps/Sandcastle/gallery/Cesiumblocktest.html. I see the expected behavior with Chrome,
I also updated Cesiumblocktest.html a bit to focus on the anomaly I had previously posted about. I added two essentially identical entities, buildings, one inside the boundary of the entity above and one outside. That is, the only difference is in their long/lat s. They both appear to be off the ground although their height = 0.0. I have been unable to find documentation explaining the entity interaction.
Cesiumblocktest.html (7.48 KB)