| | |
| | | maxZoom: 18, |
| | | center: [26, 104], |
| | | zoom: 3, |
| | | worldCopyJump: true, |
| | | inertia: true, |
| | | zoomControl: false, |
| | | attributionControl: false, |
| | | editable: true |
| | |
| | | { |
| | | code: 'sinopec_img', |
| | | name: '中石化天地图影像', |
| | | icon_actived: '', |
| | | icon_deactived: '', |
| | | isAddToMap: true, |
| | | map: { |
| | | layerName: '天地图影像地图', |
| | |
| | | visible: false, |
| | | layerType: 'img_c', |
| | | isLoadMapByToken: true, |
| | | url: SINOPEC_GIS_HOST + '/OneMapServer/rest/services/base-tdt-image-globe/WMTS', |
| | | url: SINOPEC_GIS_HOST + '/OneMapServer/rest/services/base-tdt-image-globe/WMTS?'+ |
| | | 'layer=img&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: 0 |
| | | zoomOffset: 1 |
| | | } |
| | | }, |
| | | annotation: { |
| | |
| | | visible: false, |
| | | layerType: 'cia_c', |
| | | isLoadMapByToken: true, |
| | | url: SINOPEC_GIS_HOST + '/OneMapServer/rest/services/base-tdt-label-image/WMTS', |
| | | url: SINOPEC_GIS_HOST + '/OneMapServer/rest/services/base-tdt-label-image/WMTS?'+ |
| | | 'layer=cia&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: 0 |
| | | zoomOffset: 1 |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | code: 'sinopec_vec', |
| | | name: '中石化天地图矢量', |
| | | icon_actived: '', |
| | | icon_deactived: '', |
| | | isAddToMap: false, |
| | | map: { |
| | | layerName: '天地图矢量地图', |
| | |
| | | visible: false, |
| | | layerType: 'vec_c', |
| | | isLoadMapByToken: true, |
| | | url: SINOPEC_GIS_HOST + '/OneMapServer/rest/services/base-tdt-vector-globe/WMTS', |
| | | url: SINOPEC_GIS_HOST + '/OneMapServer/rest/services/base-tdt-vector-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: 0 |
| | | zoomOffset: 1 |
| | | } |
| | | }, |
| | | annotation: { |
| | |
| | | visible: false, |
| | | layerType: 'cva_c', |
| | | isLoadMapByToken: true, |
| | | url: SINOPEC_GIS_HOST + '/OneMapServer/rest/services/base-tdt-label-vector/WMTS', |
| | | url: SINOPEC_GIS_HOST + '/OneMapServer/rest/services/base-tdt-label-vector/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: 0 |
| | | zoomOffset: 1 |
| | | } |
| | | } |
| | | } |
| | |
| | | { |
| | | code: 'tianditu_img', |
| | | name: '天地图影像', |
| | | icon_actived: '', |
| | | icon_deactived: '', |
| | | isAddToMap: true, |
| | | map: { |
| | | layerName: '天地图影像地图', |
| | |
| | | option:{ |
| | | maxZoom: 18, |
| | | minZoom: 1, |
| | | zoomOffset: 0 |
| | | zoomOffset: 1 |
| | | } |
| | | }, |
| | | annotation: { |
| | |
| | | option:{ |
| | | maxZoom: 18, |
| | | minZoom: 1, |
| | | zoomOffset: 0 |
| | | zoomOffset: 1 |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | code: 'tianditu_vec', |
| | | name: '天地图影像', |
| | | icon_actived: '', |
| | | icon_deactived: '', |
| | | isAddToMap: false, |
| | | map: { |
| | | layerName: '天地图矢量地图', |
| | |
| | | option:{ |
| | | maxZoom: 18, |
| | | minZoom: 1, |
| | | zoomOffset: 0 |
| | | zoomOffset: 1 |
| | | } |
| | | }, |
| | | annotation: { |
| | |
| | | option:{ |
| | | maxZoom: 18, |
| | | minZoom: 1, |
| | | zoomOffset: 0 |
| | | zoomOffset: 1 |
| | | } |
| | | } |
| | | } |
| | |
| | | { |
| | | code:'guojie', |
| | | name:'国界', |
| | | icon_actived: '', |
| | | icon_deactived: '', |
| | | type:'wmts', |
| | | url: APP_GIS_HOST + '/server/ogcserver/whp_guojie/wmts?x={x}&y={y}&z={z}', |
| | | option:{ |