浏览代码

修改白模颜色

maxiaoxiao 1 年之前
父节点
当前提交
5aaf41fba8
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/siteselection/components/xzjg.vue

+ 2 - 1
src/views/siteselection/components/xzjg.vue

@@ -345,7 +345,8 @@ export default {
               }
               if (height && entity.polygon) {
                 entity.polygon.extrudedHeight = height;
-                entity.polygon.material = Cesium.Color.WHITE;
+                entity.polygon.material =
+                  Cesium.Color.fromCssColorString("#c1c1c1");
                 entity.polygon.outlineColor = Cesium.Color.BLACK;
                 entity.polygon.outlineWidth = 1.0;
                 // if (!addlabel) {