北京经济技术开发区经开区虚拟城市项目-【前端】-移动端Web
少年
2024-01-23 02c92ac5456a4ee28d5755173a3efa8e7d5ddff1
src/components/sideMenu/roamPanel/roamPanel.vue
@@ -68,6 +68,7 @@
    };
  },
  methods: {
    // 定点绕飞
    handleAroundClick() {
      this.closeCurrentOperator();
      store.setRoamPanelShow(false);
@@ -82,9 +83,18 @@
      //     //结束路径漫游
      //     this.ljmy();
      // }
      sgworld.drawObj = window.currentOperator = sgworld.Analysis.setPointFly();
      window.pointerFly=sgworld.drawObj = window.currentOperator = sgworld.Analysis.setPointFly();
    },
    // 结束顶点绕飞
     setClearPointFly() {
        if (this.pointerFly) {
            this.pointerFly && this.pointerFly.end();
            this.pointerFly = null;
        }
    },
    // 漫游
    handleRoamClick(result) {
      store.setBasicMap("三维模型");
      store.setRoamPanelShow(false);
      store.setSearchPanelShow(false);
      const val = roman.filter((res) => {
@@ -103,9 +113,9 @@
        };
        window.PathAnimationData.winIndex = layer.open({
          type: 2,
          title: "路径动画",
          title: result.name,
          shade: false,
          area: ["352px", "690px"],
          area: ["100%", "200px"],
          offset: "r",
          skin: "other-class",
          content: SmartEarthRootUrl + "Workers/path/Path.html",