maxiaoxiao 11 달 전
부모
커밋
bb33f0e8e2
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      src/views/modelStretch/index.vue

+ 5 - 3
src/views/modelStretch/index.vue

@@ -309,7 +309,8 @@ export default {
           }),
           attributes: {
             color: Cesium.ColorGeometryInstanceAttribute.fromColor(
-              Cesium.Color.CHARTREUSE.withAlpha(0.1)
+              // Cesium.Color.CHARTREUSE.withAlpha(0.1)
+              new Cesium.Color(0.8, 0.8, 0.8, 1.0).withAlpha(1)
             ),
           },
         });
@@ -342,11 +343,12 @@ export default {
         var boundaryPolyline = new Cesium.GeometryInstance({
           geometry: new Cesium.PolylineGeometry({
             positions: Cesium.Cartesian3.fromDegreesArrayHeights(pss), // 注意这里需要处理高度为0的情况,因为边界线通常在地表
-            width: 1, // 边界线的宽度
+            width: 2, // 边界线的宽度
           }),
           attributes: {
             color: Cesium.ColorGeometryInstanceAttribute.fromColor(
-              Cesium.Color.CHARTREUSE.withAlpha(0.8)
+              // Cesium.Color.CHARTREUSE.withAlpha(0.8)
+              new Cesium.Color(0.4, 0.4, 0.4, 1.0).withAlpha(1)
             ),
           },
         });