Browse Source

fix: 地图移动

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

2
public/static/qm/MainMap_QM.js

@ -42,7 +42,7 @@ ConfigFun = function () {
this.mapDistance = { min: 100, max: 1000 } //限制地图缩放
this.tubeMaterial = new THREE.MeshPhongMaterial({ color: 0xb47834, transparent: true, opacity: 0.6 }) //路径材质
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.sceneGap = { x: 0, y: 0, z: 0, scale: 0.097 } //改变地图位置,大小
this.cameraZoom = 3 //设置我的方向状态地图放大倍数;
this.deviceAng = false //地图初始化方向是否使用设备角度
this.showlap = false //showlap 是否叠层预览

Loading…
Cancel
Save