From 5206e7a4f4c5b71c9ddeccdbbe5e7fba5b3eeb9b Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期五, 22 三月 2024 01:05:38 +0800
Subject: [PATCH] YOUHAU

---
 src/utils/tool.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/utils/tool.js b/src/utils/tool.js
index 736d888..2de79ff 100644
--- a/src/utils/tool.js
+++ b/src/utils/tool.js
@@ -132,7 +132,8 @@
             url: `https://skyzt.bda.gov.cn/yzAdapter/Vector/?request=1&year=${layerName}&type=Sate&level={z}&x={x}&y={y}`,
         })
     });
-    window.mapapi.addLayer(_GLOBAL.historyLayer);
+    // window.mapapi.addLayer(_GLOBAL.historyLayer);
+    layersArray.insertAt(1, _GLOBAL.historyLayer);
 }
 var topResolution = 896.0859375;
 var resolutions = [];

--
Gitblit v1.9.3