feat: 修改了托克逊工厂的坐标

This commit is contained in:
caoqianming 2024-04-03 15:33:51 +08:00
parent b01d1164c3
commit f9bf8060bd
1 changed files with 6 additions and 2 deletions

View File

@ -418,9 +418,11 @@ export default {
var url = "photon_tree.glb";
var height = 0;
viewer.entities.removeAll(); //entity
// 88.64349,
// 42.72285,
var position = Cesium.Cartesian3.fromDegrees(
88.64349,
42.72285,
88.69159,
42.73185,
height
);
var heading = Cesium.Math.toRadians(191); //310
@ -818,8 +820,10 @@ export default {
},
beforeUnmount() {
// viewer.destroy();
this.viewer.entities.removeAll()
this.viewer = null;
},
};
</script>
<style>