I am trying to draw a shape similar to the blue image in the attached picture. I feel like I have tried every shape possible in cesium. I have tried polylineVolumes, polygons,and many more. I am new to cesium and do not see how to draw complex shapes. Does anyone have any advice on what to try. Here is some code that got me the closest to what I wanted but still will not work.
var orangePolygon = viewer.entities.add({
name: 'Orange polygon with per-position heights and outline',
polygon: {
hierarchy: Cesium.Cartesian3.fromDegreesArrayHeights(
[155.5, 54.37139, 50000,
154.5, 54.37139, 50000,
135.87694, 72.37139, 500000,
175.87694, 72.37139, 500000
]),
extrudedHeight: 0,
perPositionHeight: true,
material: Cesium.Color.ORANGE.withAlpha(0.5),
outline: true,
outlineColor: Cesium.Color.BLACK
}
});