北京经济技术开发区经开区虚拟城市项目-【前端】--政府服务中心-2号屏Web
surprise
2023-10-13 7860cd2d2dc0c1164a2f65a69081369d1abd6377
代码更新
已修改2个文件
17 ■■■■ 文件已修改
src/components/map/viewer.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/mapData.js 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/map/viewer.vue
@@ -141,7 +141,7 @@
      //地下模式距离参数
      Viewer.scene.globe.translucency.frontFaceAlpha = 0.5;
      Viewer.scene.globe.undergroundColor = undefined;
      window.Viewer.scene.screenSpaceCameraController.minimumZoomDistance = 500
      mapMsg.init();
      rpc.clickToCoordinates();
      mapMsg.setTime();
static/mapData.js
@@ -3,14 +3,13 @@
    apiUrl: 'http://10.10.4.121:8070/',    //接口调用地址
    apiUrl1: 'http://10.10.4.121:8070/PoiExcel',    //接口调用地址
    mapRest: {
        lng:-2189057.520899536,
        lat:4391362.253844792,
        alt:4061614.05434034,
        heading:2.6476305164192566,
        pitch:-0.34141671341299507,
        roll:6.283179093517075,
        lng:  -2189204.3052408984, //经度0
        lat:  4391299.928900704, //纬度
        alt: 4061302.0742125358, //高度
        heading: 2.706017718142978, //偏移角度
        pitch: -0.06450211339012002, //俯仰角度
        roll: 0.0000010046555702913906 //旋转角度
   
    },