From cc1c0a396698648256c350f6f0fe2cb2f0b02c7e Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Wed, 27 Mar 2024 15:44:10 +0800
Subject: [PATCH] 许可按钮放出,备案审批按钮放出

---
 src/components/map/main.vue |   42 ------------------------------------------
 1 files changed, 0 insertions(+), 42 deletions(-)

diff --git a/src/components/map/main.vue b/src/components/map/main.vue
index 86da603..420ec71 100644
--- a/src/components/map/main.vue
+++ b/src/components/map/main.vue
@@ -96,48 +96,6 @@
         //建立地图
         this.createmap(2); //1为本地
 
-        // 正式服务器上使用
-        this.ol2d = new OlMap({
-            layers: [
-                new OlLayerTile({//矢量地图
-
-                    source: new WMTS({
-                        url: "http://47.49.21.207:7001/PGIS_S_TileMapServer/Maps/YX",
-                        layer: "JX14YGJCIMGL7_L14",
-                        style: "default",
-                        matrixSet: "JX14YGJCIMGL7_L14",
-                        format: "image/png",
-                        wrapX: true,
-                        tileGrid: new WMTSTileGrid({
-                            origin: getTopLeft(projectionExtent),
-                            //resolutions: res.slice(0, 15),
-                            resolutions: resolutions,
-                            matrixIds: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
-                        })
-                    }),
-
-                })
-            ],
-
-            // 注意地图控件的写法
-            controls: defaults().extend([
-                new FullScreen(),
-                new ScaleLine(),
-                // new MousePosition(),
-                new Rotate(),
-                new Attribution()
-            ]),
-            target: 'track_map',
-            view: new OlView({
-                center: [115.85883507433789, 28.708432053474827],
-                projection: projection,
-                zoom: 11,
-                maxZoom: 15,
-                minZoom: 1
-
-            })
-        })
-
         this.parentParameter();
 
         window.ol2d = this.ol2d;

--
Gitblit v1.9.3