지반침하 지도 UX 및 목록 표시 개선

This commit is contained in:
kiminchan
2026-07-14 16:57:51 +09:00
parent 031f5e2ed8
commit fdfb37d4d0
10 changed files with 256 additions and 28 deletions
@@ -46,6 +46,7 @@ export default React.memo(function GisTree({
onProgressChange = () => { },
layerSettingView: LayerSettingView = null,
layerIconVisible,
sinkholeLegendIconVisible = false,
inlineLayerSettingView,
treeSectionClassName = "",
toggleButtonPosition = "center",
@@ -561,7 +562,8 @@ export default React.memo(function GisTree({
nodeLabel === "지반침하정보";
const isFloodHistoryRootTreeNode = nodeLabel === "침수흔적도";
const hideTreeLegendIcon =
isSinkholeRootTreeNode || isFloodHistoryRootTreeNode;
(isSinkholeRootTreeNode && !sinkholeLegendIconVisible) ||
isFloodHistoryRootTreeNode;
const showLayerActionButton = layerIconVisible?.(node);
const showLayerActionIcon = depth > 0 && imageVisible;