月球大数据地理空间分析展示平台-【前端】-月球2期前端
WX
2023-06-09 eff42e5897b5f0935aa5b93c1bd9acb8bb39b8f0
src/assets/js/Map/index.js
@@ -23,6 +23,10 @@
    this.Viewer = this.earthCtrl._Viewer;
    this.Viewer.scene.skyAtmosphere.show = false;
    this.Viewer.scene.globe.depthTestAgainstTerrain = true;
    console.log(this.earthCtrl);
    console.log(SmartEarth.EarthCtrl);
    window.earthCtrl = this.earthCtrl;
    window.Viewer = this.earthCtrl._Viewer;
@@ -30,6 +34,12 @@
    Viewer.scene.globe.showGroundAtmosphere = false;
    // let colorAll = {
    //   point: SmartEarth.Cesium.Color.fromCssColorString("#ff0000"),
    //   polyline: SmartEarth.Cesium.Color.fromCssColorString("#ffff0050"),
    //   polygon: SmartEarth.Cesium.Color.fromCssColorString("#ffff0050"),
    // };
    // this.earthCtrl.Analysis.spaceDistance(colorAll, () => {});
    // var terrain = new SmartEarth.Cesium.CesiumTerrainProvider({
    //     url: config.moonTerrain,
    //     tilingScheme: new SmartEarth.Cesium.GeographicTilingScheme({