| | |
| | | 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('') |
| | |
| | | try { |
| | | const res = await getMapInfoAPI(ids); |
| | | dataPointList.value = res.data.data || []; |
| | | console.log('dataPointList.value',dataPointList.value); |
| | | |
| | | // 确保地图已初始化后再渲染 |
| | | if (isMapInitialized.value && viewer) { |