添加了交通道路、高速、国道

This commit is contained in:
zhuangzhuang2000
2026-04-25 21:05:59 +08:00
parent 0b35fc55fc
commit 813b902385
6 changed files with 113 additions and 13 deletions
+2 -6
View File
@@ -272,17 +272,13 @@ export const useRainDisasterChain = () => {
name: '显示高速',
statusStore: statusStore.infrastructureLayers,
statusKey: 'showHighway' as const,
callback: (status: unknown) => {
console.log('显示高速', status);
},
callback: layerControl.clickHighway,
},
{
name: '显示国道',
statusStore: statusStore.infrastructureLayers,
statusKey: 'showMainRoad' as const,
callback: (status: unknown) => {
console.log('显示国道', status);
},
callback: layerControl.clickNationRoad,
},
{
name: '显示水库',