月球大数据地理空间分析展示平台-【前端】-月球2期前端
src/views/Index.vue
@@ -10,6 +10,7 @@
    ></export-map>
    <menus></menus>
    <bottom-btn></bottom-btn>
    <mouse-move></mouse-move>
  </div>
</template>
@@ -28,14 +29,19 @@
import bottomBtn from "@/components/bottomBtn.vue";
import exportMap from "./export/exportMap.vue";
import InitMap from "@/assets/js/Map/index.js";
//经纬度显示
import mouseMove from "@/components/mouseMove.vue";
// import * as SmartEarth from "../../public/CIMSDK/index.js";
// import * as SmartEarth from "../assets/js/CIMSDK/index.js";
let map;
var viewer;
const layerExportshow = ref(false);
const init = () => {
  viewer = InitMap.Viewer;
  map = InitMap.sgworld;
  window.setMouseMove(true);
};
//关闭状态
const SETexportMap = (res) => {
@@ -45,7 +51,6 @@
  switch (res.type) {
    case "exportMap":
      layerExportshow.value = res.value;
      break;
  }
};
@@ -53,7 +58,6 @@
  // console.log(SmartEarth);
  InitMap.init3DMap();
  init();
  window.functionForJs = functionForJs;
});
</script>