diff --git a/src/gis/cesium/map.ts b/src/gis/cesium/map.ts index a25700de..9a1d1236 100644 --- a/src/gis/cesium/map.ts +++ b/src/gis/cesium/map.ts @@ -23,9 +23,9 @@ const animConfig: any = { // 台站告警数组 const alertEntityArray: any = []; const alertEntityArrayClor: any = { - excellent: Cesium.Color.GREEN.withAlpha(0.7), - good: Cesium.Color.YELLOW.withAlpha(0.7), - bad: Cesium.Color.RED.withAlpha(0.8), + excellent: Cesium.Color.fromCssColorString('rgba(15, 148, 28, 0.5)'), + good: Cesium.Color.fromCssColorString('rgba(187, 138, 18, 0.5)'), + bad: Cesium.Color.fromCssColorString('rgba(165, 58, 35, 0.5)'), }; // 海洋告警信息 const animalerthyConfig: any = {