Explorar o código

修改白模颜色

maxiaoxiao hai 1 ano
pai
achega
5aaf41fba8
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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) {