Browse Source

fix: 地图位置

v1.0.1
高志龙 3 years ago
parent
commit
e269454bce
  1. 6
      public/static/qm/MainMap_QM.js

6
public/static/qm/MainMap_QM.js

@ -70,9 +70,9 @@ QMUtil = function () {
this.pathStateObj = { isPathState: false, isPathPlay: true, basePath: "", graphPath: "", ftPath: "", dtPath: "", facAllArr: [], forShopArr: {}, elevator: null, straight: null, elevatorDown: null, seldtFacNo: "", seldownftFacNo: "", selupftFacNo: "" }; this.pathStateObj = { isPathState: false, isPathPlay: true, basePath: "", graphPath: "", ftPath: "", dtPath: "", facAllArr: [], forShopArr: {}, elevator: null, straight: null, elevatorDown: null, seldtFacNo: "", seldownftFacNo: "", selupftFacNo: "" };
this.timeObj = { timeS: 0, collTime: -1, pathTime: -1 }; this.timeObj = { timeS: 0, collTime: -1, pathTime: -1 };
//debug 参数 相机坐标/ 镜头方向 //debug 参数 相机坐标/ 镜头方向
this.guiOptions = { cameraX: -16, cameraY: 136, cameraZ: 146, targatX: -17, targatY: 0, targatZ: 20 }; //this.button = function() {};
this.guiOptions = { cameraX: 0, cameraY: 220, cameraZ: 220, targatX: 0, targatY: 0, targatZ: 0 }; //this.button = function() {};
this.sceneGap = { x: 0, y: 0, z: 0, scale: 0.09 }; //改变地图位置,大小
this.sceneGap = { x: -10, y: 0, z: 0, scale: 0.08 }; //改变地图位置,大小
this.selectBuild = 0; this.selectBuild = 0;
this.selectFloor = 0; this.selectFloor = 0;
@ -4971,7 +4971,7 @@ FloorMap_QM.prototype = {
let some = Map_QM.util.options.boxShop.some((item) => { let some = Map_QM.util.options.boxShop.some((item) => {
return mapData.shopArea[i].name.includes(item); return mapData.shopArea[i].name.includes(item);
}); });
if (showLeb != "" || some) {
if ((showLeb != "" || some )&&show != "shop") {
showLeb = mapData.shopArea[i].name; showLeb = mapData.shopArea[i].name;
let shopDiv = document.createElement('div'); let shopDiv = document.createElement('div');
shopDiv.style.cssText = css_LR; shopDiv.style.cssText = css_LR;

Loading…
Cancel
Save