--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
document.getElementById("cesiumContainer").style.width='1000px';
document.getElementById("cesiumContainer").style.height='50%';
document.getElementById("cesiumContainer").style.overflow='hidden';
--
var ccs = document.getElementById("cesiumContainer").style;
ccs.width='100%';ccs.height='500px'; //this works
ccs.width='1900px';ccs.height='500px'; //this works
ccs.width='1900px';ccs.height='50%'; //this doesn't work
ccs.width='100%';ccs.height='50%'; //this doesn't work
--
html, body, #cesiumContainer {
width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;}
var ccs = document.getElementById("cesiumContainer").style;
ccs.width='100%';ccs.height='50%';
Give your control div a higher z-index