+
liuyg
2021-12-25 6752175e5eae4cc52e70c9afe7324d043673d3e0
src/components/mobilemap/index.vue
@@ -138,6 +138,7 @@
      });
      that.$refs.mobileLeftNav.initialize(viewer);
      that.$store.commit("MSET_VIEWER", viewer);
      // window.mviewer = viewer;
      // that.$store.commit("MSET_DC", DC);
      const popup = viewer.popup;
@@ -225,6 +226,7 @@
        }
      );
      tilesetLayer.addOverlay(tileset);
      //精细模型↑
      setTimeout((res) => {
        //转圈
@@ -241,7 +243,18 @@
        // viewer.flyTo(tileset);
      }, 2500);
      //精细模型↑
      // let position = Cesium.Cartesian3.fromDegrees(108, 25, 0); //中心点位置
      // let cameraLimit = new xt3d.CameraDominate.CameraLimit(
      //   viewer,
      //   position,
      //   {
      //     radius: 2000,
      //     debugExtent: true,
      //   }
      // );
      // const currentViewRect = viewer.camera.computeViewRectangle();//东南西北数据
      // console.log(currentViewRect, 78);
      //瀑布流↓
      const wallLayer = new that.DC.VectorLayer("wallLayer");