+
liuyg
2022-01-08 6a2f7c1adc5d7c3e2dd844e37582ad6f82a2eb1e
+
1 files modified
34 ■■■■ changed files
src/components/mobilemap/index.vue 34 ●●●● patch | view | raw | blame | history
src/components/mobilemap/index.vue
@@ -18,7 +18,7 @@
    <!-- 大弹窗 -->
    <mobilePopupOur :style="[bigPopup]" v-if="mBigPopup"></mobilePopupOur>
    <!-- 测试-跳转位置 -->
    <mobileGoTo></mobileGoTo>
    <!-- <mobileGoTo></mobileGoTo> -->
    <!-- 实景窗口 -->
    <mobilePanorama></mobilePanorama>
    <!-- 盖住左下角 -->
@@ -582,23 +582,23 @@
      //瀑布流↓
      const wallLayer = new that.DC.VectorLayer("wallLayer");
      viewer.addLayer(wallLayer);
      var arr = that.wallArr;
      arr.forEach((item) => {
        item = item.join(",");
      });
      arr = arr.join(";");
      const wall = new that.DC.Wall(arr);
      wall.setStyle({
        material: new that.DC.WallTrailMaterialProperty({
          color: that.DC.Namespace.Cesium.Color.fromBytes(0, 142, 255, 150),
          // color: that.DC.Color.DEEPSKYBLUE,
          speed: 4,
        }),
      });
      wallLayer.addOverlay(wall);
      // viewer.addLayer(wallLayer);
      // var arr = that.wallArr;
      // arr.forEach((item) => {
      //   item = item.join(",");
      // });
      // arr = arr.join(";");
      // const wall = new that.DC.Wall(arr);
      // wall.setStyle({
      //   material: new that.DC.WallTrailMaterialProperty({
      //     color: that.DC.Namespace.Cesium.Color.fromBytes(0, 142, 255, 150),
      //     // color: that.DC.Color.DEEPSKYBLUE,
      //     speed: 4,
      //   }),
      // });
      // wallLayer.addOverlay(wall);
      viewer.use(new that.DC.Measure());
      // viewer.use(new that.DC.Measure());
      //瀑布流↑
      // 传入store