|
|
|
@ -61,6 +61,7 @@ QMUtil = function () { |
|
|
|
g_col: "#ffffff", |
|
|
|
a_int: 0.85 |
|
|
|
}; |
|
|
|
this.m_zoom = 1.2; |
|
|
|
this._clock = new THREE.Clock(); |
|
|
|
this._indexPathFloor = 0; // 遍历途径数据
|
|
|
|
this.changeDist = { inner: 350, outner: 900 }; //室内外切换的极限值, 如果 inner小于minDis 则不支持缩放切换
|
|
|
|
@ -1419,7 +1420,7 @@ MainMap_QM.prototype = { |
|
|
|
this.util.guiOptions.targatZ = this.util.allMap[this.util.selectBuild].m_site.split(",")[2] || 0; |
|
|
|
} |
|
|
|
if(this.util.allMap[this.util.selectBuild].m_zoom){ |
|
|
|
this.util.sceneGap.scale = this.util.allMap[this.util.selectBuild].m_zoom; |
|
|
|
this.util.m_zoom = this.util.allMap[this.util.selectBuild].m_zoom; |
|
|
|
} |
|
|
|
} |
|
|
|
let { playSpeed = 6, collision = true, showStyle = false, modelIcon = true, shopStyle = "shopName", shadow = true, otherPath = [], navColor = 0xEE6A50, iconUrl = [], overlap = false, iconName = false, camZoom = 3, inArea = false, pathColor = 0xb47834, pathStyle = "3D" } = options; |
|
|
|
@ -1965,7 +1966,7 @@ MainMap_QM.prototype = { |
|
|
|
Map_QM.camera = Map_QM.cameraOrtho; |
|
|
|
Map_QM.controls.object = Map_QM.camera; |
|
|
|
Map_QM.shawLight.castShadow = false; |
|
|
|
Map_QM.controls.setZoom(1.2); |
|
|
|
Map_QM.controls.setZoom(Map_QM.util.m_zoom); |
|
|
|
Map_QM.camera.updateProjectionMatrix(); //必须update
|
|
|
|
Map_QM.controls.maxPolarAngle = 0; |
|
|
|
Map_QM.changeIconState(state); |
|
|
|
|