Skip to content

Commit 99ca0e1

Browse files
[feature]L7
1 parent 5640c5b commit 99ca0e1

371 files changed

Lines changed: 3978653 additions & 43 deletions

File tree

Some content is hidden

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

‎build/jsdocs/template/config.json‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,10 @@
414414
"WebSymbol": {
415415
"name": "Web符号",
416416
"name_en": "WebSymbol"
417+
},
418+
"L7": {
419+
"name": "L7",
420+
"name_en": "L7"
417421
}
418422
}
419423
},
@@ -505,6 +509,10 @@
505509
"Constant": {
506510
"name": "常量",
507511
"name_en": "Constant"
512+
},
513+
"MapExtend": {
514+
"name": "地图扩展",
515+
"name_en": "MapExtend"
508516
}
509517
}
510518
}

‎build/jsdocs/template/publish.js‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,8 @@ var whiteLists = {
620620
'TimeFlowControl',
621621
'WebMachineLearning',
622622
'WebMap',
623-
'WKTFormat'
623+
'WKTFormat',
624+
'L7Layer'
624625
],
625626
maplibregl:[
626627
'KnowledgeGraphService',
@@ -654,7 +655,8 @@ var whiteLists = {
654655
'GraticuleLayer',
655656
'HeatMapLayer',
656657
'MapvLayer',
657-
'ThreeLayer'
658+
'ThreeLayer',
659+
'L7Layer'
658660
],
659661
openlayers: [
660662
'KnowledgeGraphService',
@@ -965,7 +967,7 @@ exports.publish = function (taffyData, opts, tutorials) {
965967
}
966968
function delBaseType(name) {
967969
const linkNames = getDeledLinkName(name);
968-
return linkNames && !Boolean(baseTypes.find((item) => linkNames === item));
970+
return linkNames && !baseTypes.find((item) => linkNames === item);
969971
}
970972
function setMap(type) {
971973
if (!linkToMap.has(type)) {

‎build/webpack.config.base.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ module.exports = {
6565
echarts: 'function(){try{return echarts}catch(e){return {}}}()',
6666
mapv: 'function(){try{return mapv}catch(e){return {}}}()',
6767
'@antv/g6': 'function(){try{return G6}catch(e){return {}}}()',
68+
'@antv/l7': 'function(){try{return L7}catch(e){return {}}}()',
69+
'@antv/l7-three': 'function(){try{return window}catch(e){return {}}}()',
6870
'@tensorflow/tfjs': 'function(){try{return tf}catch(e){return {}}}()'
6971
},
7072

‎dist/mapboxgl/include-mapboxgl.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@
6262
inputCSS(libsurl + '/mapbox-gl-js-enhance/1.12.1-3/mapbox-gl-enhance.css');
6363
inputScript(libsurl + '/mapbox-gl-js-enhance/1.12.1-3/mapbox-gl-enhance.js');
6464
}
65+
if (inArray(includes, 'L7')) {
66+
inputScript('../../dist/maplibregl/l7-dev.js');
67+
}
68+
if (inArray(includes, 'g2')) {
69+
inputScript('https://cdnjs.cloudflare.com/ajax/libs/antv-g2/4.2.8/g2.min.js');
70+
}
6571
if (inArray(includes, 'g6')) {
6672
inputScript(libsurl + '/antv/g6/4.3.2/g6.min.js');
6773
}

0 commit comments

Comments
 (0)