From b86872dec25f7569b53085cb6da1ccbfe6e8a735 Mon Sep 17 00:00:00 2001
From: wangrui <zephyrs0894@163.com>
Date: 星期三, 16 十二月 2020 10:10:27 +0800
Subject: [PATCH] 基础图层加载,未实现

---
 src/components/mapmodules/CommonLayerLoad.js |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/components/mapmodules/CommonLayerLoad.js b/src/components/mapmodules/CommonLayerLoad.js
index d078640..851529b 100644
--- a/src/components/mapmodules/CommonLayerLoad.js
+++ b/src/components/mapmodules/CommonLayerLoad.js
@@ -19,7 +19,7 @@
         return L.tileLayer('http://t0.tianditu.gov.cn/vec_c/wmts?' + tokenStr +
             'layer=cva&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}', {
             maxZoom: 18,
-            minZoom: 7,
+            minZoom: 1,
             zoomOffset: 1
 
         })
@@ -28,7 +28,7 @@
         return L.tileLayer('http://t0.tianditu.gov.cn/cva_c/wmts?' + tokenStr +
             'layer=cva&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}', {
             maxZoom: 18,
-            minZoom: 7,
+            minZoom: 1,
             zoomOffset: 1
 
         })
@@ -37,7 +37,7 @@
         return L.tileLayer('http://t0.tianditu.gov.cn/img_c/wmts?' + tokenStr +
             'layer=img&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}', {
             maxZoom: 18,
-            minZoom: 7,
+            minZoom: 1,
             zoomOffset: 1
         })
     }
@@ -45,7 +45,7 @@
         return L.tileLayer('http://t0.tianditu.gov.cn/cia_c/wmts?' + tokenStr +
             'layer=cia&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}', {
             maxZoom: 18,
-            minZoom: 7,
+            minZoom: 1,
             zoomOffset: 1
         })
     }
@@ -53,7 +53,7 @@
         return L.tileLayer('http://10.246.132.249:8080/OneMapServer/rest/services/base-tdt-image-globe/WMTS?token=' + token + '&' +
             'layer=img&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}', {
             maxZoom: 18,
-            minZoom: 7,
+            minZoom: 1,
             zoomOffset: 1
         })
     }
@@ -62,7 +62,7 @@
         return L.tileLayer('http://10.246.132.249:8080/OneMapServer/rest/services/base-tdt-label-image/WMTS?token=' + token + '&' +
             'layer=cia&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}', {
             maxZoom: 18,
-            minZoom: 7,
+            minZoom: 1,
             zoomOffset: 1
         })
     }

--
Gitblit v1.8.0