From 2a99e1fa805bd78c7e10ab937e136ff627c3b271 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 08 Dec 2023 15:23:20 +0800
Subject: [PATCH] PC路网处理

---
 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