This commit is contained in:
mmc
2026-09-02 09:34:59 +08:00
parent 93d9bc648f
commit c2bf8adbec
3 changed files with 11 additions and 10 deletions

View File

@@ -401,6 +401,7 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine,
}
}
}
console.log('已发布的图层:', publishedLayers);
displayPublishedLayers(publishedLayers, baseUrl);
})
.catch(error => console.error('获取图层失败:', error));
@@ -1096,7 +1097,7 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine,
planLineRef.current = null;
}
viewer.scene.requestRender();
}
prevIfClearPlanLine.current = ifClearPlanLine;