Skip to content

Commit a9ab408

Browse files
committed
iclient for legacy to iclient classic
1 parent 022eb02 commit a9ab408

File tree

132 files changed

+1012
-1009
lines changed

Some content is hidden

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

132 files changed

+1012
-1009
lines changed

build/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var clientsTabs = {
88
"OpenLayers": "openlayers",
99
"Leaflet": "leaflet",
1010
"MapboxGL": "mapboxgl",
11-
"Legacy": "legacy",
11+
"iClient Classic": "classic",
1212
};
1313
//设当前客户端名称,其值为clientsTabs的key值之一
1414
var currentClientTab = "OpenLayers";

build/deps.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -724,14 +724,14 @@ deps = {
724724
}
725725
},
726726

727-
"legacy": {
727+
"classic": {
728728
"Services": {
729729
"title": "服务",
730730
"description": "对各种功能服务的包装",
731731
"ProcessingService": {
732732
"name": "大数据分析服务",
733733
"src": [
734-
"./src/legacy/services/ProcessingService.js"
734+
"./src/classic/services/ProcessingService.js"
735735
],
736736
"modules": [{
737737
"name": "SuperMap.REST.ProcessingService",
@@ -741,7 +741,7 @@ deps = {
741741
"AddressMatch": {
742742
"name": "地址匹配服务",
743743
"src": [
744-
"./src/legacy/services/AddressMatchService.js"
744+
"./src/classic/services/AddressMatchService.js"
745745
],
746746
"modules": [{
747747
"name": "SuperMap.REST.AddressMatchService",
@@ -755,7 +755,7 @@ deps = {
755755
"MapV": {
756756
"name": "MapV",
757757
"src": [
758-
"./src/legacy/overlay/MapVLayer.js"
758+
"./src/classic/overlay/MapVLayer.js"
759759
],
760760
"modules": [{
761761
"name": "SuperMap.Layer.MapVLayer",
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"opts": {
33
"recurse": true,
44
"template": "../template",
5-
"destination": "./docs/legacy"
5+
"destination": "./docs/classic"
66
},
77
"disqus":"",
88
"tags": {
@@ -12,7 +12,7 @@
1212
"includePattern": ".+\\.js?$",
1313
"excludePattern": ".+\\\\src\\\\common\\\\iServer\\\\.*Service|Base|Parameters.js?$",
1414
"include": [
15-
"src/common","src/legacy"
15+
"src/common","src/classic"
1616
]
1717
},
1818
"plugins": ["plugins/markdown"],
@@ -22,6 +22,6 @@
2222
"default": {
2323
"outputSourceFiles": false
2424
}
25-
//"applicationName": "iClient for Legacy(iClient8C)"
25+
//"applicationName": "iClient Classic"
2626
}
2727
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# SuperMap iClient for Legacy(iClient8C) API
1+
# SuperMap iClient Classic API
22

3-
* 官网(website):[http://iclient.supermapol.com/docs/legacy.html#introduce](http://iclient.supermapol.com/docs/leaflet.html#introduce)
3+
* 官网(website):[http://iclient.supermapol.com/docs/classic.html#introduce](http://iclient.supermapol.com/docs/leaflet.html#introduce)
44

5-
* 源码(source code):[https://github.com/SuperMap/iClient9/tree/master/src/legacy](https://github.com/SuperMap/iClient9/tree/master/src/leaflet)
5+
* 源码(source code):[https://github.com/SuperMap/iClient9/tree/master/src/classic](https://github.com/SuperMap/iClient9/tree/master/src/leaflet)
66

77
## 参考API
88

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var webpack = require('webpack');
22
var pkg = require('../package.json');
33
var banner = `
4-
iclient9-legacy.(${pkg.homepage})
4+
iclient-classic.(${pkg.homepage})
55
Copyright© 2000-2017 SuperMap Software Co. Ltd
66
license: ${pkg.license}
77
version: v${pkg.version}
@@ -13,7 +13,7 @@ module.exports = {
1313
//入口文件输出配置
1414
output: {
1515
path: __dirname + '/../dist',
16-
filename: 'iclient9-legacy.js'
16+
filename: 'iclient-classic.js'
1717
},
1818

1919
//其它解决方案配置
@@ -24,8 +24,8 @@ module.exports = {
2424
'echarts': 'function(){try{return echarts}catch(e){return {}}}()',
2525
'mapv': "function(){try{return mapv}catch(e){return {}}}()",
2626
'elasticsearch': 'function(){try{return elasticsearch}catch(e){return {}}}()',
27-
'../legacy/libs/SuperMap_Basic-8.1.1-15125.js': 'SuperMap',
28-
'../legacy/libs/SuperMap_Visualization-8.1.1-15125.js': 'SuperMap'
27+
'../classic/libs/SuperMap_Basic-8.1.1-15125.js': 'SuperMap',
28+
'../classic/libs/SuperMap_Visualization-8.1.1-15125.js': 'SuperMap'
2929
},
3030
module: {
3131
rules: [{

build/webpack.config.leaflet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = {
4141
}]
4242
}, {
4343
test: /\.js/,
44-
exclude: /node_modules[\/\\]proj4|legacy/,
44+
exclude: /node_modules[\/\\]proj4|classic/,
4545
loader: 'babel-loader',
4646
query: {
4747
presets: ['es2015'],

build/webpack.config.mapboxgl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
noParse: /[\/\\]node_modules[\/\\]mapbox-gl[\/\\]dist[\/\\]mapbox-gl\.js$/,
3232
rules: [{
3333
test: /\.js/,
34-
exclude: /legacy/,
34+
exclude: /classic/,
3535
loader: 'babel-loader',
3636
query: {
3737
presets: ['es2015'],

build/webpack.config.openlayers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = {
4141
}]
4242
}, {
4343
test: /\.js/,
44-
exclude: /legacy/,
44+
exclude: /classic/,
4545
loader: 'babel-loader',
4646
query: {
4747
presets: ['es2015'],

0 commit comments

Comments
 (0)