无人机管理后台前端(已迁走)
张含笑
2025-10-29 308a34f2f9fe60b83a9942e1dd661e58b732dcb8
src/views/layerManagement/index.vue
@@ -80,11 +80,14 @@
  drawPolygonExample.editThePatch(true);
  const positions = parseGeoDataToPositions(val.geo_data, val.altitude);
  if (positions.length < 3) return; // 少于3个点无法构成多边形
   drawPolygonExample.drawTheArea(true)
  drawPolygonExample.initPolygon(viewer, positions, true);
};
// 清除地图数据
const parentMethod = () => {
drawPolygonExample.delPolygon()
drawPolygonExample.drawTheArea(false)
};
// 点击显示区域
const handleCoverDataUpdate = data => {