Browse Source

fix: 修改地图位置

dev
高志龙 3 years ago
parent
commit
c0dde35667
  1. 4
      public/static/qm/MainMap_QM.js

4
public/static/qm/MainMap_QM.js

@ -41,8 +41,8 @@ ConfigFun = function () {
this.distance = 6000 //楼栋间距 this.distance = 6000 //楼栋间距
this.mapDistance = { min: 100, max: 1000 } //限制地图缩放 this.mapDistance = { min: 100, max: 1000 } //限制地图缩放
this.tubeMaterial = new THREE.MeshPhongMaterial({ color: 0xb47834, transparent: true, opacity: 0.6 }) //路径材质 this.tubeMaterial = new THREE.MeshPhongMaterial({ color: 0xb47834, transparent: true, opacity: 0.6 }) //路径材质
this.cameraDist = { x: 0, y: 220, z: 220, state: '3D' } //相机坐标 state---2D 平面 3D 立体
this.sceneGap = { x: 0, y: 0, z: 0, scale: 0.095 } //改变地图位置,大小
this.cameraDist = { x: 22, y: 215, z: 62, state: '3D' } //相机坐标 state---2D 平面 3D 立体
this.sceneGap = { x: 0, y: 0, z: -10, scale: 0.097 } //改变地图位置,大小
this.cameraZoom = 3 //设置我的方向状态地图放大倍数; this.cameraZoom = 3 //设置我的方向状态地图放大倍数;
this.deviceAng = false //地图初始化方向是否使用设备角度 this.deviceAng = false //地图初始化方向是否使用设备角度
this.showlap = false //showlap 是否叠层预览 this.showlap = false //showlap 是否叠层预览

Loading…
Cancel
Save