Skip to content

Commit 12987a1

Browse files
【fix】 getFeature接口对接hasGeometry参数 review by songym
1 parent 93ff807 commit 12987a1

26 files changed

+86801
-131462
lines changed

build/webpack.config.base.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ module.exports = {
4141
externals: {
4242
echarts: 'function(){try{return echarts}catch(e){return {}}}()',
4343
mapv: 'function(){try{return mapv}catch(e){return {}}}()',
44-
elasticsearch: 'function(){try{return elasticsearch}catch(e){return {}}}()'
44+
elasticsearch: 'function(){try{return elasticsearch}catch(e){return {}}}()',
45+
'@tensorflow/tfjs': 'function(){try{return tf}catch(e){return {}}}()'
4546
},
4647

4748
module: {

dist/classic/include-classic.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@
149149
if (inArray(includes, 'DefaultStyleConfiguration')) {
150150
inputScript("https://iclient.supermap.io/web/libs/iclient8c/resource/Plugins/Plotting/DefaultStyleConfiguration.js");
151151
}
152+
if (inArray(includes, 'tensorflow')) {
153+
inputScript('https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@3.5.0/dist/tf.min.js');
154+
}
152155
}
153156

154157
load();

dist/leaflet/include-leaflet.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@
125125
);
126126
inputScript('https://iclient.supermap.io/web/libs/bezier-easing/2.1.0/bezier-easing.js');
127127
}
128+
if (inArray(includes, 'tensorflow')) {
129+
inputScript('https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@3.5.0/dist/tf.min.js');
130+
}
128131

129132
// iclient
130133
if (!inArray(excludes, 'iclient-leaflet')) {

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