To clarify, I want to overlay a button on top of the viewer like is in the sandcastle example. When I do it like this, it positions the button above the viewer.
toolbarLeftClass: {
display: “block”,
position: “absolute”,
top: “5px”,
left: “5px”
},
cesiumContainerId: {
position: “relative”,
width: “100%”,
height: “100%”,
margin: “0”,
padding: “0”,
overflow: “hidden”
},
this.cesiumContainer = element}>
Click me!