| | |
| | | import ChooseModelDialog from './chooseModelDialog.vue'; |
| | | import { addPoint} from "@/api/system/template" |
| | | let globalon = 0 |
| | | let globalat =0 |
| | | let globalat = 0 |
| | | const centerCartesian = Cesium.Cartesian3.fromDegrees(globalon,globalat , 0) |
| | | let rotationAngle = Cesium.Math.toRadians(60) |
| | | let relativeData |
| | |
| | | } |
| | | console.log(this.treeData) |
| | | }, |
| | | //数组 塔的精度 塔的纬度 塔的高度 半径 |
| | | insertRaisedPoints(data, centerLon, centerLat, centerHeight, radius = 130) { |
| | | const center = Cesium.Cartesian3.fromDegrees(centerLon, centerLat, centerHeight); |
| | | const result = JSON.parse(JSON.stringify(data)); // 深拷贝避免污染原数据 |