Browse Source

修改白模颜色

maxiaoxiao 1 năm trước cách đây
mục cha
commit
5aaf41fba8
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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) {