Skip to content

Commit 96392b9

Browse files
committed
优化代码copyright格式
1 parent f47d394 commit 96392b9

File tree

573 files changed

+1573
-796
lines changed

Some content is hidden

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

573 files changed

+1573
-796
lines changed

src/classic/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.
2-
* This program are made available under the terms of the Apache License, Version 2.0
3-
* which accompanies this distribution and is available at
4-
* http://www.apache.org/licenses/LICENSE-2.0.html.*/
2+
* This program are made available under the terms of the Apache License, Version 2.0
3+
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/
54

65
export {ElasticSearch} from '@supermap/iclient-common/thirdparty/elasticsearch/ElasticSearch';
76
export {SecurityManager} from '@supermap/iclient-common/security/SecurityManager';

src/classic/overlay/MapVLayer.js

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.* This program are made available under the terms of the Apache License, Version 2.0* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
2-
import {SuperMap} from '../SuperMap';
3-
import {MapVRenderer} from './mapv/MapVRenderer';
1+
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.
2+
* This program are made available under the terms of the Apache License, Version 2.0
3+
* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
4+
import {
5+
SuperMap
6+
} from '../SuperMap';
7+
import {
8+
MapVRenderer
9+
} from './mapv/MapVRenderer';
410

511
/**
612
* @class SuperMap.Layer.MapVLayer
@@ -214,7 +220,8 @@ export class MapVLayer extends SuperMap.Layer {
214220
* @param {SuperMap.Lonlat} latLng - 经纬度坐标。
215221
*/
216222
transferToMapLatLng(latLng) {
217-
var source = "EPSG:4326", dest = "EPSG:4326";
223+
var source = "EPSG:4326",
224+
dest = "EPSG:4326";
218225
var unit = this.map.getUnits() || "degree";
219226
if (["m", "meter"].indexOf(unit.toLowerCase()) > -1) {
220227
dest = "EPSG:3857";
@@ -224,4 +231,4 @@ export class MapVLayer extends SuperMap.Layer {
224231

225232
}
226233

227-
SuperMap.Layer.MapVLayer = MapVLayer;
234+
SuperMap.Layer.MapVLayer = MapVLayer;

src/classic/overlay/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.* This program are made available under the terms of the Apache License, Version 2.0* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
1+
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.
2+
* This program are made available under the terms of the Apache License, Version 2.0
3+
* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
24
export {MapVLayer} from './MapVLayer';
35
export * from './mapv';

src/classic/overlay/mapv/MapVRenderer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.* This program are made available under the terms of the Apache License, Version 2.0* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
1+
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.
2+
* This program are made available under the terms of the Apache License, Version 2.0
3+
* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
24
import {SuperMap} from '../../SuperMap';
35
import {baiduMapLayer, DataSet} from 'mapv';
46

src/classic/overlay/mapv/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.* This program are made available under the terms of the Apache License, Version 2.0* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
1+
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.
2+
* This program are made available under the terms of the Apache License, Version 2.0
3+
* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
24
export {MapVRenderer} from './MapVRenderer';

src/classic/services/AddressMatchService.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.* This program are made available under the terms of the Apache License, Version 2.0* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
1+
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.
2+
* This program are made available under the terms of the Apache License, Version 2.0
3+
* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
24
import {SuperMap} from '../SuperMap';
35
import {CommonServiceBase} from '@supermap/iclient-common/iServer/CommonServiceBase';
46
import {AddressMatchService as CommonAddressMatchService} from '@supermap/iclient-common/iServer/AddressMatchService';

src/classic/services/ProcessingService.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.* This program are made available under the terms of the Apache License, Version 2.0* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
1+
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.
2+
* This program are made available under the terms of the Apache License, Version 2.0
3+
* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
24
import {SuperMap} from '../SuperMap';
35
import {DataFormat} from '@supermap/iclient-common/REST';
46
import {CommonServiceBase} from '@supermap/iclient-common/iServer/CommonServiceBase';

src/classic/services/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.* This program are made available under the terms of the Apache License, Version 2.0* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
1+
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.
2+
* This program are made available under the terms of the Apache License, Version 2.0
3+
* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
24
export {AddressMatchService} from './AddressMatchService';
35
export {ProcessingService} from './ProcessingService';

src/common/REST.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.* This program are made available under the terms of the Apache License, Version 2.0* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
2-
import {
1+
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.
2+
* This program are made available under the terms of the Apache License, Version 2.0
3+
* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
4+
import {
35
SuperMap
46
} from './SuperMap';
57

src/common/SuperMap.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.* This program are made available under the terms of the Apache License, Version 2.0* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
1+
/* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved.
2+
* This program are made available under the terms of the Apache License, Version 2.0
3+
* which accompanies this distribution and is available at/r* http://www.apache.org/licenses/LICENSE-2.0.html.*/
24
export var SuperMap = window.SuperMap = window.SuperMap || {};
35
SuperMap.Widgets = window.SuperMap.Widgets || {};

0 commit comments

Comments
 (0)