1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
| const mapLayers = [{
| name: "Cesium",
| sourceType: "cesium",
| tokne: "94a34772eb88317fcbf8428e10448561",
| maximumLevel: 18,
| id: 1,
| isShow: true,
| list: [{
| name: "Cesium影像",
| image: require("../../assets/img/imageLayer/tdmap_image.jpg"),
| urls: "https://webst02.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}",
| },],
| },
|
| {
| name: "天地图",
| sourceType: "tdmap",
| tokne: "94a34772eb88317fcbf8428e10448561",
| maximumLevel: 18,
| id: 1,
| isShow: true,
| list: [
| {
| name: "天地图地图",
| image: require("../../assets/img/imageLayer/tdmap_map.jpg"),
| urls: "http://t0.tianditu.com/vec_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=vec&tileMatrixSet=w&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=",
| olUrls: 'http://t0.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk='
| },
| {
| name: "天地图影像",
| image: require("../../assets/img/imageLayer/tdmap_image.jpg"),
| urls: "http://t0.tianditu.com/img_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=w&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=",
| olUrls: 'http://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk='
| },
| {
| name: "天地图地形",
| image: require("../../assets/img/imageLayer/tdmap_label.jpg"),
| urls: "http://t0.tianditu.com/ter_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=ter&tileMatrixSet=w&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=",
| olUrls: 'http://t0.tianditu.gov.cn/DataServer?T=ter_w&x={x}&y={y}&l={z}&tk='
| },
| ],
| },
| {
| name: "高德地图",
| sourceType: "gdmap",
| maximumLevel: 18,
| id: 2,
| isShow: true,
| list: [
| {
| name: "高德地图",
| image: require("../../assets/img/imageLayer/gdmap_map.jpg"),
| urls: "https://webst02.is.autonavi.com/appmaptile?style=7&x={x}&y={y}&z={z}",
| },
| {
| name: "高德影像",
| image: require("../../assets/img/imageLayer/gdmap_image.jpg"),
| urls: "https://webst02.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}",
| },
|
| ],
| }, {
| name: '本地服务',
| sourceType: 'localmap',
| maximumLevel: 22,
| id: 3,
| isShow: true,
| list: [
| {
| name: "地图",
| image: require("../../assets/img/imageLayer/gdmap_map.jpg"),
| urls: "http://{host}/LFData/2d/tiles/vec/{z}/{x}/{y}.png",
| },
| {
| name: "影像",
| image: require("../../assets/img/imageLayer/gdmap_image.jpg"),
| urls: "http://{host}/LFData/2d/tiles/img/{z}/{x}/{y}.png",
| },
| {
| name: "地形",
| image: require("../../assets/img/imageLayer/dixing.png"),
| urls: "http://{host}/LFData/2d/tiles/ter/{z}/{x}/{y}.png",
| },
| {
| name: "1:20万区域地质图",
| image: require("../../assets/img/imageLayer/25dizhi.png"),
| urls: "http://{host}/LFData/2d/tiles/20w_qydz/{z}/{x}/{y}.png",
| },
| ],
| }
| ]
| export default mapLayers;
|
|