|
|
@ -93,14 +93,6 @@ export default { |
|
|
|
console.log(this.viewForm, viewer); |
|
|
|
const { lng, lat, alt, heading, pitch, roll } = this.viewForm; |
|
|
|
setTimeout(() => { |
|
|
|
// viewer.scene.camera.setView({ |
|
|
|
// destination: new sycim.Cartesian3(lng, lat, alt), |
|
|
|
// orientation: { |
|
|
|
// heading, |
|
|
|
// pitch, |
|
|
|
// roll |
|
|
|
// } |
|
|
|
// }); |
|
|
|
window.viewer.scene.camera.setView({ |
|
|
|
destination: new Cesium.Cartesian3.fromDegrees(lng, lat, alt), |
|
|
|
orientation: { |
|
|
|