Skip to content

Commit 9794f5d

Browse files
committed
【feature/API】 mapboxgl 新增 webmap 接口 review by songym
1 parent be03304 commit 9794f5d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+63075
-53940
lines changed

build/deps.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,17 @@ deps = {
10161016
},
10171017

10181018
"mapboxgl": {
1019+
"Mapping": {
1020+
"iPortal": {
1021+
"name": "iPortal webmap",
1022+
"src": ["./src/mapboxgl/mapping/WebMap.js"],
1023+
"modules": [{
1024+
"name": "mapboxgl.supermap.WebMap",
1025+
"des": "iPortal、Online 地图",
1026+
"des_en": "SuperMap iPortal and Online tile layer"
1027+
}]
1028+
}
1029+
},
10191030
"Services": {
10201031
"title": "服务",
10211032
"description": "服务模块",

build/webpack.config.mapboxgl.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ module.exports = {
2424
'deck.gl': '(function(){try{return DeckGL}catch(e){return {}}})()',
2525
'luma.gl': '(function(){try{return luma}catch(e){return {}}})()',
2626
'webgl-debug': '(function(){try{return webgl-debug}catch(e){return {}}})()',
27-
'xlsx': "function(){try{return XLSX}catch(e){return {}}}()"
27+
'xlsx': "function(){try{return XLSX}catch(e){return {}}}()",
28+
'canvg': "function(){try{return canvg}catch(e){return {}}}()",
29+
'jsonsql': "function(){try{return jsonsql}catch(e){return {}}}()",
30+
'xml-js': "function(){try{return convert}catch(e){return {}}}()",
2831
}),
2932

3033
module: {

0 commit comments

Comments
 (0)