From c88e6fc89736da8faa46d525c8781c0f1dac5384 Mon Sep 17 00:00:00 2001
From: YANGDL <114714267@qq.com>
Date: 星期五, 19 三月 2021 01:50:18 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/conf/TDT.js |   75 +++++++++++++++++++++++++++++++++++++
 1 files changed, 75 insertions(+), 0 deletions(-)

diff --git a/src/conf/TDT.js b/src/conf/TDT.js
index 0c5b418..b91a337 100644
--- a/src/conf/TDT.js
+++ b/src/conf/TDT.js
@@ -74,6 +74,42 @@
         zoomOffset: 1
       }
     }
+  },
+  {
+    code: 'tianditu_ter',
+    name: '涓煶鍖栧ぉ鍦板浘鍦板舰',
+    icon_actived: '/assets/images/map-pages/icon/terrain.png',
+    icon_deactived: '/assets/images/map-pages/icon/terrain.png',
+    isAddToMap: false,
+    annotationCheck: true,
+    map: {
+      layerName: '澶╁湴鍥惧叏鐞冨湴褰�',
+      type: 'wmts',
+      visible: false,
+      layerType: 'ter_c',
+      isLoadMapByToken: true,
+      url: SINOPEC_GIS_HOST + '/OneMapServer/rest/services/base-tdt-ter-globe/WMTS?' +
+        'layer=vec&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}',
+      option: {
+        maxZoom: 18,
+        minZoom: 1,
+        zoomOffset: 1
+      }
+    },
+    annotation: {
+      layerName: '澶╁湴鍥惧湴褰㈡敞璁�',
+      type: 'wmts',
+      visible: false,
+      layerType: 'cta_c',
+      isLoadMapByToken: true,
+      url: SINOPEC_GIS_HOST + '/OneMapServer/rest/services/base-tdt-label-ter/WMTS?' +
+        'layer=cva&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}',
+      option: {
+        maxZoom: 18,
+        minZoom: 1,
+        zoomOffset: 1
+      }
+    }
   }
 ]
 const internet = [
@@ -153,6 +189,45 @@
         zoomOffset: 1
       }
     }
+  },
+  {
+    code: 'tianditu_ter',
+    name: '澶╁湴鍥惧湴褰�',
+    icon_actived: '/assets/images/map-pages/icon/terrain.png',
+    icon_deactived: '/assets/images/map-pages/icon/terrain.png',
+    isAddToMap: false,
+    annotationCheck: true,
+    map: {
+      layerName: '澶╁湴鍥惧湴褰㈠湴鍥�',
+      type: 'wmts',
+      visible: false,
+      layerType: 'ter_c',
+      isLoadMapByToken: true,
+      annotationCheck: true,
+      url: TIANDITU_GIS_HOST + '/ter_c/wmts?layer=ter&style=default&tilematrixset=c' +
+        '&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}' +
+        '&tk=' + TIANDITU_GIS_TOKEN,
+      option: {
+        maxZoom: 18,
+        minZoom: 1,
+        zoomOffset: 1
+      }
+    },
+    annotation: {
+      layerName: '澶╁湴鍥惧湴褰㈡爣璁�',
+      type: 'wmts',
+      visible: false,
+      layerType: 'cta_c',
+      isLoadMapByToken: true,
+      url: TIANDITU_GIS_HOST + '/cta_c/wmts?layer=cta&style=default&tilematrixset=c' +
+        '&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}' +
+        '&tk=' + TIANDITU_GIS_TOKEN,
+      option: {
+        maxZoom: 18,
+        minZoom: 1,
+        zoomOffset: 1
+      }
+    }
   }
 ]
 export default

--
Gitblit v1.8.0