无人机管理后台前端(已迁走)
张含笑
2025-06-12 579821bffd232e5e7614311347c5dc8e8aef31df
feat:数据中心地图,编辑文件名
2 files modified
6 ■■■■■ changed files
src/views/dataCenter/components/dataCenterMap.vue 4 ●●● patch | view | raw | blame | history
src/views/dataCenter/dataCenter.vue 2 ●●● patch | view | raw | blame | history
src/views/dataCenter/components/dataCenterMap.vue
@@ -25,12 +25,13 @@
const currentAreaPosition = ref({ height: 1987280, latitude: 27.636112, longitude: 115.732975 });
let handler = null;
const props = defineProps(['jobId','mapList']);
console.log('props.mapList',props.mapList);
// 存储地图实体引用
const dataPointEntities = ref([]);
const isMapInitialized = ref(false); //地图加载
const dataPointList = ref([]);
const activeEntity = ref(null); // 当前激活的点
const activeEntity = ref(props.mapList); // 当前激活的点
// 获取弹框box
const detailId = ref('')
@@ -244,6 +245,7 @@
  try {
    const res = await getMapInfoAPI(ids);
    dataPointList.value = res.data.data || [];
console.log('dataPointList.value',dataPointList.value);
    // 确保地图已初始化后再渲染
    if (isMapInitialized.value && viewer) {
src/views/dataCenter/dataCenter.vue
@@ -443,7 +443,7 @@
const panoramaParamsUrl = ref(null);
const clickpanorama = val => {
  panoramaParamsShow.value = true;
  panoramaParamsUrl.value = val.img;
  panoramaParamsUrl.value = val.link;
  // console.log('全景', val);
};
// 视频