| | |
| | | }) |
| | | |
| | | // 地形数据添加 |
| | | tilesetObject[titlesetName].setHeight(0) |
| | | // tilesetObject[titlesetName].setHeight(0) |
| | | |
| | | tilesetLayer.addOverlay(tilesetObject[titlesetName]) |
| | | |
| | |
| | | ...villageData, |
| | | siteJd: Number(villageData.location.lng), |
| | | siteWd: Number(villageData.location.lat) - 0.0021, |
| | | siteGd: 400, |
| | | siteGd: 240, |
| | | sitePitch: -45, |
| | | }) |
| | | |
| | |
| | | ...this.buildingList[0], |
| | | siteJd: Number(this.buildingList[0].siteJd), |
| | | siteWd: Number(this.buildingList[0].siteWd) - 0.0021, |
| | | siteGd: 400, |
| | | siteGd: 240, |
| | | sitePitch: -45, |
| | | }) |
| | | setTimeout(() => { |
| | |
| | | console.log('getHouses3DData--then', res) |
| | | then.$EventBus.$emit("showThreeDimensions", { |
| | | positions: houseData.kmj3a, |
| | | minHeight: res.data.data.properties.hwtxa.features[0].properties.yjpca, |
| | | minHeight: 0, |
| | | // res.data.data.properties.hwtxa.features[0].properties.yjpca, |
| | | // maxHeight: res.data.data.properties.hwtxa.features[0].properties.mbfdr, |
| | | maxHeight: res.data.data.properties.hwtxa.features[0].properties.mbfdr + res.data.data.properties.hwtxa.features[0].properties.yjpca, |
| | | maxHeight: res.data.data.properties.hwtxa.features[0].properties.mbfdr, |
| | | }) |
| | | then.unitChoosed3DList = houseData.nwwqd.features |
| | | then.curHousingHWTXAYjpca = houseData.hwtxa.features[0].properties.yjpca |
| | | then.curHousingHWTXAYjpca = 0 |
| | | console.log('getHouses3DData--aoiArr', aoiArr) |
| | | if (aoiArr) { |
| | | then.unitChoosed3DList.forEach(item => { |
| | |
| | | ...item, |
| | | siteJd: Number(homeCenter[0]), |
| | | siteWd: Number(homeCenter[1]) - 0.0021, |
| | | siteGd: 400, |
| | | siteGd: 240, |
| | | sitePitch: -45, |
| | | }) |
| | | this.$EventBus.$emit("clearHouse3D") |
| | |
| | | // this.$EventBus.$emit("toPosition", { |
| | | // siteJd: Number(params.lng), |
| | | // siteWd: Number(params.lat) - 0.0021, |
| | | // siteGd: 400, |
| | | // siteGd: 240, |
| | | // sitePitch: -45, |
| | | // }) |
| | | } |
| | |
| | | ...item, |
| | | siteJd: Number(item.siteJd), |
| | | siteWd: Number(item.siteWd) - 0.0021, |
| | | siteGd: 400, |
| | | siteGd: 240, |
| | | sitePitch: -45, |
| | | }) |
| | | } |