From 0fb4132f6d01bfd5de4e3dddfc27f1c2fe55ddcc Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期二, 16 三月 2021 16:16:43 +0800 Subject: [PATCH] 工具-地图,地形图 --- src/conf/TDT.js | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/src/conf/TDT.js b/src/conf/TDT.js index 0c5b418..6f0597f 100644 --- a/src/conf/TDT.js +++ b/src/conf/TDT.js @@ -153,6 +153,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=cva&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