Skip to content

Commit da0db80

Browse files
【fix】 移除机器学习引用 review by songym
1 parent 820a38f commit da0db80

File tree

7 files changed

+5
-62
lines changed

7 files changed

+5
-62
lines changed

examples/mapboxgl/config.js

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,40 +1296,6 @@ var exampleConfig = {
12961296
]
12971297
}
12981298
}
1299-
},
1300-
machineLearning: {
1301-
name: 'WebAI影像分析',
1302-
name_en: 'WebAI Image Analysis',
1303-
content: {
1304-
machineLearning: {
1305-
name: 'WebAI影像分析',
1306-
version: '10.1.3',
1307-
name_en: 'WebAI Image Analysis',
1308-
content: [
1309-
{
1310-
name: '二元分类',
1311-
name_en: 'Binary Classification',
1312-
version: '10.1.3',
1313-
thumbnail: 'binaryClassification.png',
1314-
fileName: 'binaryClassification'
1315-
},
1316-
{
1317-
name: '地物分类',
1318-
name_en: 'Landcover Classification',
1319-
version: '10.1.3',
1320-
thumbnail: 'landcoverClassification.png',
1321-
fileName: 'landcoverClassification'
1322-
},
1323-
{
1324-
name: '目标检测',
1325-
name_en: 'Object Detection',
1326-
version: '10.1.3',
1327-
thumbnail: 'object_detection.png',
1328-
fileName: 'ObjectDetection'
1329-
}
1330-
]
1331-
}
1332-
}
13331299
}
13341300
};
13351301
/**
@@ -1344,8 +1310,7 @@ var sideBarIconConfig = {
13441310
viz: 'fa-map',
13451311
control: 'fa-sliders',
13461312
multiCoordSys: 'fa-globe',
1347-
GTC: 'fa-globe',
1348-
machineLearning: 'fa-globe'
1313+
GTC: 'fa-globe'
13491314
};
13501315

13511316
/**
@@ -1358,7 +1323,6 @@ var exampleIconConfig = {
13581323
iPortal: 'fa-desktop',
13591324
viz: 'fa-map',
13601325
GTC: 'fa-globe',
1361-
multiCoordSys: 'fa-globe',
1362-
machineLearning: 'fa-globe'
1326+
multiCoordSys: 'fa-globe'
13631327
};
13641328
window.mapboxglExampleConfig = exampleConfig;

src/classic/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/
44

55
export { ElasticSearch } from '@supermap/iclient-common/thirdparty/elasticsearch/ElasticSearch';
6-
export { BinaryClassification } from '@supermap/iclient-common/thirdparty/ai/BinaryClassification';
7-
export { LandcoverClassification } from '@supermap/iclient-common/thirdparty/ai/LandcoverClassification';
8-
export { ObjectDetection } from '@supermap/iclient-common/thirdparty/ai/ObjectDetection';
9-
export { WebMachineLearning } from '@supermap/iclient-common/thirdparty/ai/WebMachineLearning';
106
export { SecurityManager } from '@supermap/iclient-common/security/SecurityManager';
117
export { KernelDensityJobParameter } from '@supermap/iclient-common/iServer/KernelDensityJobParameter';
128
export { SingleObjectQueryJobsParameter } from '@supermap/iclient-common/iServer/SingleObjectQueryJobsParameter';

src/common/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ import {
362362
OnlineServiceBase
363363
} from './online';
364364
import { KeyServiceParameter, SecurityManager, ServerInfo, TokenServiceParameter } from './security';
365-
import { ElasticSearch, BinaryClassification, LandcoverClassification, ObjectDetection, WebMachineLearning } from './thirdparty';
365+
import { ElasticSearch } from './thirdparty';
366366
import {
367367
setCORS,
368368
isCORS,
@@ -915,5 +915,5 @@ export {
915915
};
916916
export { KeyServiceParameter, SecurityManager, ServerInfo, TokenServiceParameter };
917917
export { CartoCSS, ThemeStyle };
918-
export { ElasticSearch, BinaryClassification, LandcoverClassification, ObjectDetection, WebMachineLearning };
918+
export { ElasticSearch };
919919
export { Lang, en, zh };

src/common/thirdparty/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
* This program are made available under the terms of the Apache License, Version 2.0
33
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/
44
import { ElasticSearch } from './elasticsearch';
5-
import { BinaryClassification, LandcoverClassification, ObjectDetection, WebMachineLearning } from './ai';
65

7-
export { ElasticSearch, BinaryClassification, LandcoverClassification, ObjectDetection, WebMachineLearning } ;
6+
export { ElasticSearch } ;

src/leaflet/index.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ import {
9797
TokenServiceParameter,
9898
//thirdparty
9999
ElasticSearch,
100-
BinaryClassification,
101-
LandcoverClassification,
102-
ObjectDetection,
103-
WebMachineLearning,
104100
//util
105101
FetchRequest,
106102
ColorsPickerUtil,
@@ -579,10 +575,6 @@ export {
579575
TokenServiceParameter,
580576
//thirdparty
581577
ElasticSearch,
582-
BinaryClassification,
583-
LandcoverClassification,
584-
ObjectDetection,
585-
WebMachineLearning,
586578
//util
587579
FetchRequest,
588580
ColorsPickerUtil,

src/mapboxgl/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ export {
9797
TokenServiceParameter,
9898
//thirdparty
9999
ElasticSearch,
100-
BinaryClassification,
101-
LandcoverClassification,
102-
ObjectDetection,
103-
WebMachineLearning,
104100
//util
105101
FetchRequest,
106102
ColorsPickerUtil,

src/openlayers/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ export {
9797
TokenServiceParameter,
9898
//thirdparty
9999
ElasticSearch,
100-
BinaryClassification,
101-
LandcoverClassification,
102-
ObjectDetection,
103-
WebMachineLearning,
104100
//util
105101
FetchRequest,
106102
ColorsPickerUtil,

0 commit comments

Comments
 (0)