feat: 修改了托克逊工厂的坐标
This commit is contained in:
parent
b01d1164c3
commit
f9bf8060bd
|
@ -418,9 +418,11 @@ export default {
|
||||||
var url = "photon_tree.glb";
|
var url = "photon_tree.glb";
|
||||||
var height = 0;
|
var height = 0;
|
||||||
viewer.entities.removeAll(); //加载之前先清楚所有entity
|
viewer.entities.removeAll(); //加载之前先清楚所有entity
|
||||||
|
// 88.64349,
|
||||||
|
// 42.72285,
|
||||||
var position = Cesium.Cartesian3.fromDegrees(
|
var position = Cesium.Cartesian3.fromDegrees(
|
||||||
88.64349,
|
88.69159,
|
||||||
42.72285,
|
42.73185,
|
||||||
height
|
height
|
||||||
);
|
);
|
||||||
var heading = Cesium.Math.toRadians(191); //310度转弧度
|
var heading = Cesium.Math.toRadians(191); //310度转弧度
|
||||||
|
@ -818,8 +820,10 @@ export default {
|
||||||
},
|
},
|
||||||
beforeUnmount() {
|
beforeUnmount() {
|
||||||
// viewer.destroy();
|
// viewer.destroy();
|
||||||
|
this.viewer.entities.removeAll()
|
||||||
this.viewer = null;
|
this.viewer = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Reference in New Issue