月球大数据地理空间分析展示平台-【前端】-月球2期前端
surprise
2023-10-19 9f51306b10520a2be30bedfe1b34c288cf770f43
src/assets/js/Map/menuTool.js
@@ -136,8 +136,11 @@
      window.material = null;
      globe.material = null;
      Viewer.scene.globe.enableLighting = false;
      store.state.slopeQueyFlag = false;
      store.state.showSlopeQuey = false;
      return;
    }
    store.state.slopeQueyFlag = true;
    window.material = new Cesium.Material({
      fabric: {
        type: "ElevationRamp",
@@ -159,6 +162,9 @@
    if (window.material) {
      window.material = null;
      globe.material = null;
      store.state.slopeQueyFla = false
      store.state.slopeQueyFlag = false;
      store.state.showSlopeQuey = false;
      return;
    }
@@ -625,7 +631,8 @@
      window.material = null;
      globe.material = null;
      Viewer.scene.globe.enableLighting = false;
      return;
      store.state.slopeQueyFlag = false;
      store.state.showSlopeQuey = false;
    }
    if (window.DoubleScreen) {
      window.DoubleScreen && window.DoubleScreen.destroy();
@@ -695,7 +702,7 @@
      offset: {
        heading: Cesium.Math.toRadians(0.0),
        pitch: Cesium.Math.toRadians(-90),
        range: 0
        range: 40
      }
    }
    );
@@ -753,7 +760,7 @@
      },
    })
    window.Viewer.flyTo(locationPolygonEntity, {
    window.Viewer.flyTo(polyline, {
      offset: {
        heading: Cesium.Math.toRadians(0.0),
        pitch: Cesium.Math.toRadians(-90),