派生自 wuyushui/SewerAndRainNetwork

YANGDL
2021-03-19 c88e6fc89736da8faa46d525c8781c0f1dac5384
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