linwe
2025-12-18 c466e5f71a15da61adf66654d6bff90edd10b3b6
经开分局优化
2 files modified
19 ■■■■ changed files
src/components/map/index.vue 2 ●●● patch | view | raw | blame | history
src/views/house/index.vue 17 ●●●● patch | view | raw | blame | history
src/components/map/index.vue
@@ -1596,7 +1596,7 @@
      })
      // 地形数据添加
      tilesetObject[titlesetName].setHeight(0)
      // tilesetObject[titlesetName].setHeight(0)
      tilesetLayer.addOverlay(tilesetObject[titlesetName])
src/views/house/index.vue
@@ -1732,7 +1732,7 @@
          ...villageData,
          siteJd: Number(villageData.location.lng),
          siteWd: Number(villageData.location.lat) - 0.0021,
          siteGd: 400,
          siteGd: 240,
          sitePitch: -45,
        })
@@ -1806,7 +1806,7 @@
              ...this.buildingList[0],
              siteJd: Number(this.buildingList[0].siteJd),
              siteWd: Number(this.buildingList[0].siteWd) - 0.0021,
              siteGd: 400,
              siteGd: 240,
              sitePitch: -45,
            })
            setTimeout(() => {
@@ -1988,12 +1988,13 @@
        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 => {
@@ -2073,7 +2074,7 @@
            ...item,
            siteJd: Number(homeCenter[0]),
            siteWd: Number(homeCenter[1]) - 0.0021,
            siteGd: 400,
            siteGd: 240,
            sitePitch: -45,
          })
          this.$EventBus.$emit("clearHouse3D")
@@ -2123,7 +2124,7 @@
        // this.$EventBus.$emit("toPosition", {
        //     siteJd: Number(params.lng),
        //     siteWd: Number(params.lat) - 0.0021,
        //     siteGd: 400,
        //     siteGd: 240,
        //     sitePitch: -45,
        // })
      }
@@ -2164,7 +2165,7 @@
          ...item,
          siteJd: Number(item.siteJd),
          siteWd: Number(item.siteWd) - 0.0021,
          siteGd: 400,
          siteGd: 240,
          sitePitch: -45,
        })
      }