| | |
| | | _GLOBAL.ImageLayer = new ol.layer.Tile({ |
| | | source: new ol.source.XYZ({ |
| | | url: `${'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer'}/tile/{z}/{y}/{x}`, |
| | | projection:"EPSG:3857", |
| | | tileSize: 512 |
| | | }), |
| | | }); |
| | | window.mapapi.addLayer(_GLOBAL.ImageLayer); |
| | |
| | | url: "https://skyzt.bda.gov.cn/gisserver/wmsserver/shiliangditu_baisexi_wms", //图层地址 |
| | | params: { |
| | | VERSION: "1.1.1", |
| | | SRS: "EPSG:4326", |
| | | SRS: "EPSG:3857", |
| | | FORMAT: "image/png", |
| | | TILED: true, |
| | | LAYERS: "", |
| | |
| | | url: 'https://skyzt.bda.gov.cn/gisserver/wmsserver/YZ_BJ60', |
| | | params: { |
| | | 'VERSION': '1.1.1', |
| | | 'SRS': 'EPSG:4326', |
| | | 'SRS': 'EPSG:3857', |
| | | 'FORMAT': 'image/png', |
| | | 'TILED': true, |
| | | "LAYERS": '' |
| | |
| | | url: 'https://skyzt.bda.gov.cn/gisserver/wmsserver/YZ_BJ',//图层地址 |
| | | params: { |
| | | 'VERSION': '1.1.1', |
| | | 'SRS': 'EPSG:4326', |
| | | 'SRS': 'EPSG:3857', |
| | | 'FORMAT': 'image/png', |
| | | 'TILED': true, |
| | | "LAYERS": '' |
| | |
| | | } |
| | | _GLOBAL.historyLayer = new ol.layer.Tile({ |
| | | source: new ol.source.XYZ({ |
| | | projection:"EPSG:3857", |
| | | url: `https://skyzt.bda.gov.cn/yzAdapter/Vector/?request=1&year=${layerName}&type=Sate&level={z}&x={x}&y={y}`, |
| | | }) |
| | | }); |