From 4624a543f7d79d37ec7ed154ff8ea5db17b82632 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 08 Dec 2023 11:28:12 +0800
Subject: [PATCH] 定位更换 底部定位按钮开启 点击绿色搜索条件完善 extent,更新 主要楼宇开启 定位描点BUG修复

---
 src/store/modules/openlayerData.js |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/src/store/modules/openlayerData.js b/src/store/modules/openlayerData.js
index a6bf70a..ec68be0 100644
--- a/src/store/modules/openlayerData.js
+++ b/src/store/modules/openlayerData.js
@@ -49,7 +49,24 @@
     },
     openlayers: {
       map2D: new OlMap({
-        layers: [],
+        layers: [
+          /**
+             *  new OlLayerTile({
+                zIndex: 4,
+                title: "影像",
+                source: new XYZ({
+                  url: "http://t4.tianditu.com/DataServer?T=vec_w&tk=b9031f80391e6b65bd1dd80dcde1b097&x={x}&y={y}&l={z}", // 行政区划
+                }),
+              }),
+              new OlLayerTile({
+                zIndex: 5,
+                title: "影像",
+                source: new XYZ({
+                  url: "http://t4.tianditu.com/DataServer?T=cva_w&tk=b9031f80391e6b65bd1dd80dcde1b097&x={x}&y={y}&l={z}", // 行政区划
+                }),
+              }),
+             */
+        ],
         view: new OlView({}),
       }),
       map3D: null,

--
Gitblit v1.9.3