Skip to content

Commit 3586632

Browse files
committed
[examples] maplibregl-enhance新增例子
1 parent 30d920d commit 3586632

14 files changed

+2166
-22
lines changed

examples/mapboxgl/01_tiledMapLayer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
map.addControl(new mapboxgl.NavigationControl(), 'top-left');
4242
});
4343

44-
// 方法二: 直接用 mapboxgk.Map 初始化
44+
// 方法二: 直接用 mapboxgl.Map 初始化
4545
// var map = new mapboxgl.Map({
4646
// container: 'map', // container id
4747
// style: {

examples/mapboxgl/01_tiledMapLayer_4326.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
map.addControl(new mapboxgl.NavigationControl(), 'top-left');
6262
});
6363

64-
// 方法二: 直接用 mapboxgk.Map 初始化
64+
// 方法二: 直接用 mapboxgl.Map 初始化
6565
// var map = new mapboxgl.Map({
6666
// container: 'map', // container id
6767
// style: {

examples/mapboxgl/mvtVectorTile_2362.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
});
5151

5252
// 方法二: 1. 注册坐标投影
53-
// 2. 直接用 mapboxgk.Map 初始化
53+
// 2. 直接用 mapboxgl.Map 初始化
5454
// var WKT = 'PROJCS["Xian 1980 / 3-degree Gauss-Kruger zone 38",GEOGCS["Xian 1980",DATUM["Xian_1980",SPHEROID["IAG 1975",6378140,298.257,AUTHORITY["EPSG","7049"]],AUTHORITY["EPSG","6610"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4610"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",114],PARAMETER["scale_factor",1],PARAMETER["false_easting",38500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AUTHORITY["EPSG","2362"]]'
5555
// var map = new mapboxgl.Map({
5656
// container: 'map',

examples/maplibregl/01_chartService.html

Lines changed: 780 additions & 0 deletions
Large diffs are not rendered by default.

examples/maplibregl/01_tiledMapLayer_4326.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
map.addControl(new maplibregl.NavigationControl(), 'top-left');
6262
});
6363

64-
// 方法二: 直接用 maplibregk.Map 初始化
64+
// 方法二: 直接用 maplibregl.Map 初始化
6565
// var map = new maplibregl.Map({
6666
// container: 'map', // container id
6767
// style: {

examples/maplibregl/config.js

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ var exampleConfig = {
7070
version: '11.1.1',
7171
thumbnail: "layersLegend.png",
7272
fileName: "01_layersLegend"
73+
},
74+
{
75+
name: "海图",
76+
name_en: "Chart",
77+
version: '11.2.0',
78+
thumbnail: "chart.png",
79+
fileName: "01_chartService"
7380
}
7481
]
7582
},
@@ -470,6 +477,19 @@ var exampleConfig = {
470477
// }
471478
]
472479
},
480+
image: {
481+
name: "影像服务",
482+
name_en: "Image service",
483+
content: [
484+
{
485+
name: "影像服务",
486+
name_en: "Image Service",
487+
version: "11.2.0",
488+
thumbnail: "imageService.png",
489+
fileName: "imageService"
490+
}
491+
]
492+
},
473493
KnowledgeGraph: {
474494
name: '知识图谱',
475495
name_en: 'KnowledgeGraph',
@@ -683,7 +703,31 @@ var exampleConfig = {
683703
localIgnore: true,
684704
thumbnail: 'mvtVectorTile_landuse.png',
685705
fileName: 'mvtVectorTile_landuse'
686-
}
706+
},
707+
{
708+
name: '矢量瓦片叠加',
709+
name_en: 'MVT overlay',
710+
localIgnore: true,
711+
version: '11.2.0',
712+
thumbnail: 'mvtVectorTile_overlay.png',
713+
fileName: 'mvtVectorTile_overlay'
714+
},
715+
{
716+
name: 'iServer数据服务矢量瓦片(2000万点)',
717+
name_en: 'iServer REST Data VectorTile(20 million Point)',
718+
version: '11.2.0',
719+
localIgnore: true,
720+
thumbnail: 'mvtVectorTile_restdata.png',
721+
fileName: 'mvtVectorTile_restdata'
722+
},
723+
{
724+
name: 'POI 标签高亮',
725+
name_en: 'POI Label Highlight',
726+
version: '11.2.0',
727+
localIgnore: true,
728+
thumbnail: 'mvt_poi_highlight.png',
729+
fileName: 'mvtVectorTile_poi_highlight'
730+
}
687731
]
688732
},
689733
cluster: {
@@ -1089,6 +1133,12 @@ var exampleConfig = {
10891133
thumbnail: 'websymbol_customWebSymbol.png',
10901134
fileName: 'websymbol_customWebSymbol'
10911135
}, {
1136+
name: '京津地区土地利用现状图',
1137+
name_en: 'Land Use of Jingjin ',
1138+
version: '11.2.0',
1139+
thumbnail: 'websymbol_landuseOfJingjin.png',
1140+
fileName: 'websymbol_landuseOfJingjin'
1141+
},{
10921142
name: '2019年中国各省GDP',
10931143
name_en: "2019 China's GDP by Province",
10941144
version: '11.1.0',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy