maxiaoxiao 11 mēneši atpakaļ
vecāks
revīzija
bb33f0e8e2
1 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  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)
             ),
           },
         });