wangyawei
2025-04-18 94cfc15f29212c722f294b6b90c88dbb4197a496
Merge branch 'master' of http://103.135.160.14:9034/r/NslWeb
已修改1个文件
17 ■■■■■ 文件已修改
src/components/tools/Tools.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/tools/Tools.vue
@@ -214,6 +214,8 @@
    showAspect.value = false; // 坡度坡向分析
    showRain.value = false; // 雨天
    showSnow.value = false; // 雪天
    isContourLabel.value = false; //等高线
    return;
  }
  // 如果工具名称是 "图层管理"
@@ -226,6 +228,8 @@
    showAspect.value = false; //坡向箭头
    showRain.value = false; //雨天
    showSnow.value = false; //雨天
    isContourLabel.value = false; //等高线
    return;
  }
@@ -238,7 +242,8 @@
  echartsShow.value = false; //剖面echarts
  showAspect.value = false; //坡向箭头
  showRain.value = false; //雨天
  showSnow.value = false; //雨天
  showSnow.value = false; //雪天
  isContourLabel.value = false; //等高线
}
const currentOption = ref(null);
@@ -298,11 +303,11 @@
    },
    等高线分析: () => {
      isContourLabel.value = true;
      if (isContourLabel.value === false) {
        mapUtils.createContourLabel();
      } else {
        mapUtils.closeContourLabel();
      }
      // if (isContourLabel.value === false) {
      //   mapUtils.createContourLabel();
      // } else {
      //   mapUtils.closeContourLabel();
      // }
    },
    点位信息提取: () => {
      isPickActive.value = !isPickActive.value;