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

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
+17 -1
View File
@@ -83,6 +83,20 @@ export const useLayerControl = () => {
useStatusStore().infrastructureLayers.showTrafficRoad.loading = true;
};
/**
* 显示高速
*/
const clickHighway = () => {
useStatusStore().infrastructureLayers.showHighway.loading = true;
};
/**
* 显示国道
*/
const clickNationRoad = () => {
useStatusStore().infrastructureLayers.showMainRoad.loading = true;
};
return {
clickHiddenDangerPoint,
clickHospital,
@@ -93,6 +107,8 @@ export const useLayerControl = () => {
clickSchool,
clickPopulationGrid,
clickWaterPipe,
clickTrafficRoad
clickTrafficRoad,
clickHighway,
clickNationRoad
};
};