Jelajahi Sumber

合规性分析历史记录调整

maxiaoxiao 1 tahun lalu
induk
melakukan
5df8bf3631
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      src/views/complianceAnalysis/components/lsjl.vue

+ 2 - 1
src/views/complianceAnalysis/components/lsjl.vue

@@ -184,8 +184,9 @@ export default {
     addPolygon(geojson) {
       this.reset();
       let polygon = Cesium.GeoJsonDataSource.load(geojson, {
+        clampToGround: true,
         stroke: Cesium.Color.RED,
-        fill: Cesium.Color.WHITE, //.withAlpha(0.3),
+        fill: Cesium.Color.WHITE.withAlpha(0.3),
         strokeWidth: 5,
       });
       polygon.then(function (dataSource) {