| | |
| | | ); |
| | | } |
| | | }); |
| | | |
| | | // var positions = [ |
| | | // 108.95846, |
| | | // 34.22104, |
| | | // 108.96039, |
| | | // 34.22104, |
| | | // 108.96046, |
| | | // 34.21804, |
| | | // 108.95843, |
| | | // 34.21804, |
| | | // 108.95846, |
| | | // 34.22104 |
| | | // ]; |
| | | // var wall = Viewer.entities.add({ |
| | | // name: "立体墙效果", |
| | | // wall: { |
| | | // positions: Cesium.Cartesian3.fromDegreesArray(positions), |
| | | |
| | | |
| | | // material: new Cesium.DynamicWallMaterialProperty({ |
| | | // color: Cesium.Color.RED, |
| | | // duration: 4000 |
| | | // }), |
| | | // // 设置高度 |
| | | // maximumHeights: [20, 20, 20, 20, 20], |
| | | // minimumHeights: [0, 0, 0, 0, 0], |
| | | // } |
| | | // }) |
| | | |
| | | // setTimeout(() => { |
| | | // Viewer.flyTo(wall) |
| | | // }, 20000); |
| | | |
| | | }, |
| | | // 显示园区范围 |
| | | getPark(res) { |
| | |
| | | }); |
| | | setTimeout(() => { |
| | | this.setClearPointFly(); |
| | | }, 5000); |
| | | }, 8000); |
| | | }, |
| | | changeCameraHeading(res) { |
| | | var nextIndex = this.marksIndex + 1; |