|
@@ -838,12 +838,10 @@ export default {
|
|
|
|
|
|
},
|
|
|
draw_vector_tdgy_gy_jd() {
|
|
|
- console.log(this.vector_data, "this.vector_data");
|
|
|
this.vector_data.forEach((res) => {
|
|
|
res.type = '国有建设用地完成项目'
|
|
|
if (res.geom) {
|
|
|
res.geom.coordinates.forEach((res_coordinates) => {
|
|
|
- console.log('res_coordinates: ', res_coordinates);
|
|
|
let arrayt = [];
|
|
|
if (res_coordinates.length == 1) {
|
|
|
arrayt = res_coordinates[0]
|
|
@@ -853,8 +851,6 @@ export default {
|
|
|
|
|
|
const twoDArray = arrayt;
|
|
|
const oneDArray = twoDArray.reduce((accumulator, currentValue) => accumulator.concat(currentValue), []);
|
|
|
- console.log('oneDArray: ', oneDArray);
|
|
|
-
|
|
|
|
|
|
this.gy_jd_entity.entities.add({
|
|
|
// position: Cesium.Cartesian3.fromDegrees(res_coordinates[0], res_coordinates[1], 0),
|