Skip to content

Commit 8528a99

Browse files
author
caoxinke@supermap.com
committed
添加OpenLayers、Leaflet对接Turf.js的示例。
1 parent 1ac021e commit 8528a99

19 files changed

+32587
-32596
lines changed

build/webpack.config.leaflet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
'echarts': 'function(){try{return echarts}catch(e){return {}}}()',
2828
'mapv': "function(){try{return mapv}catch(e){return {}}}()",
2929
'elasticsearch': 'function(){try{return elasticsearch}catch(e){return {}}}()',
30-
'turf': "function(){try{return turf}catch(e){return {}}}()"
30+
'@turf/turf': "function(){try{return turf}catch(e){return {}}}()",
3131
},
3232

3333
module: {

build/webpack.config.openlayers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = {
2626
'echarts': 'function(){try{return echarts}catch(e){return {}}}()',
2727
'mapv': "function(){try{return mapv}catch(e){return {}}}()",
2828
'elasticsearch': 'function(){try{return elasticsearch}catch(e){return {}}}()',
29-
'turf': "function(){try{return turf}catch(e){return {}}}()",
29+
'@turf/turf': "function(){try{return turf}catch(e){return {}}}()",
3030
},
3131

3232
module: {

dist/iclient-classic.js

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

0 commit comments

Comments
 (0)