jihongshun
2025-09-11 bcb67f336c2b352177884b8db6decc3fcf382bb0
src/views/system/project/components/addPorjectDialog.vue
@@ -250,6 +250,8 @@
      this.$emit('close')
    },
    flyToLocal(row){
      console.log(row)
       const position = Cesium.Cartesian3.fromDegrees(row.longitude,row.latitude, row.deviceHeight);
      // rotationAngle  = Cesium.Math.toRadians(row.face)  ||  Cesium.Math.toRadians(0)
      rotationAngle  = Cesium.Math.toRadians(row.face)  ||  Cesium.Math.toRadians(0)
@@ -263,7 +265,7 @@
      );
      // 加载 glTF 模型
      const entity = model({
      const entity = viewer.entities.add({
        name: row.id,
        position: position,
        orientation: orientation,