소스 검색

修改白模颜色

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) {