|
|
|
@ -53,6 +53,9 @@ export default { |
|
|
|
}//位置x,y的偏移量 |
|
|
|
}//位置x,y的偏移量 |
|
|
|
}); |
|
|
|
}); |
|
|
|
window.map.addControl(floorControl); |
|
|
|
window.map.addControl(floorControl); |
|
|
|
|
|
|
|
console.log('sn ===>',this.sn) |
|
|
|
|
|
|
|
console.log('floorNo ===>',this.floorNo) |
|
|
|
|
|
|
|
console.log('x ====>',this.x,'y ====>',this.y) |
|
|
|
if(this.sn && this.floorNo && this.x && this.y) { |
|
|
|
if(this.sn && this.floorNo && this.x && this.y) { |
|
|
|
window.map._map.focusFloorId = this.floorNo; |
|
|
|
window.map._map.focusFloorId = this.floorNo; |
|
|
|
coordinateToWGS84({ x:this.x, y:this.y, minX: 13439311, maxY:3667244.25 }).then(res => { |
|
|
|
coordinateToWGS84({ x:this.x, y:this.y, minX: 13439311, maxY:3667244.25 }).then(res => { |
|
|
|
|