| | |
| | | that.switchImg() |
| | | |
| | | // 地形数据添加 |
| | | this.addTerrain() |
| | | |
| | | that.addTerrain() |
| | | |
| | | // 外网 |
| | |
| | | // 重写定位方法 |
| | | const homeCenter = [117.99311892441567, 28.46938164123123] |
| | | this.$nextTick(() => { |
| | | console.log('dc-zoom-controller', document.querySelector('.dc-zoom-controller')) |
| | | document.querySelector('.dc-zoom-controller').children[1].onclick = |
| | | function () { |
| | | that.$EventBus.$emit('toPosition', { |
| | |
| | | * @param {*} |
| | | */ |
| | | showThreeDimensions (positions, minHeight, maxHeight) { |
| | | console.log('showThreeDimensions') |
| | | if (curPolygon != null) { |
| | | global.viewer.scene.primitives.remove(curPolygon) |
| | | curPolygon = null |