|
|
@ -75,8 +75,10 @@ export default { |
|
|
|
zoomSensitivity, |
|
|
|
cameraPosture, |
|
|
|
viewImg, |
|
|
|
layerId |
|
|
|
layerId, |
|
|
|
id |
|
|
|
} = res.data; |
|
|
|
this.initForm.id = id; |
|
|
|
this.initForm.initTime = initTime; |
|
|
|
this.initForm.initWeather = initWeather; |
|
|
|
this.initForm.ambientLightIntensity = ambientLightIntensity; |
|
|
@ -90,7 +92,6 @@ export default { |
|
|
|
this.$emit('set-checked-keys', layerIds); |
|
|
|
this.$nextTick(() => { |
|
|
|
if (this.viewForm.image) { |
|
|
|
console.log(this.viewForm, viewer); |
|
|
|
const { lng, lat, alt, heading, pitch, roll } = this.viewForm; |
|
|
|
setTimeout(() => { |
|
|
|
window.viewer.scene.camera.setView({ |
|
|
|