修改
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user