let rectangleOptions: any = {
name: ‘rectangle’,
id: id,
rectangle: {
coordinates: new Cesium.CallbackProperty(function () {
const rectangle = Cesium.Rectangle.fromCartesianArray(Cesium.Cartesian3.fromDegreesArray(westSouthEastNorth));
return rectangle;
}, false),
height: 0,
material: new Cesium.ColorMaterialProperty(
Cesium.Color.YELLOW.withAlpha(0.7),
),
fill: true,
show: true,
}