显示隐藏脉冲

This commit is contained in:
wzy-warehouse
2026-06-16 10:32:25 +08:00
parent 13a992a8bb
commit 863340d27c
3 changed files with 43 additions and 8 deletions
+5 -2
View File
@@ -25,6 +25,9 @@ export const useRightHandle = () => {
// 添加图例
rainstormDeduction.addLegend();
// 如果有脉冲,显示脉冲
CesiumUtilsSingleton.showPulseEffects();
} else {
// 关闭暴雨模拟:隐藏降雨栅格图层
statusStore.weatherLayers.showRainfallGrid.show = false;
@@ -35,8 +38,8 @@ export const useRightHandle = () => {
// 隐藏步骤条
statusStore.uiComponents.stepBar.show = false;
// 删除脉冲
CesiumUtilsSingleton.removeAllPulses();
// 隐藏脉冲
CesiumUtilsSingleton.hidePulseEffects();
}
};