Skip to content

Commit fa96c63

Browse files
committed
fix 部分注释
1 parent 43b3d7e commit fa96c63

File tree

8 files changed

+165
-152
lines changed

8 files changed

+165
-152
lines changed

dist/iclient9-leaflet.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40261,6 +40261,7 @@ var GeoText = function (_Geometry) {
4026140261
}
4026240262

4026340263
/**
40264+
* @function SuperMap.Geometry.GeoText.prototype.getCentroid
4026440265
* @description 获取标签对象的质心。
4026540266
* @returns {SuperMap.Geometry.Point} 标签对象的质心。
4026640267
*/
@@ -46534,7 +46535,8 @@ var FacilityAnalystSources3DParameters = function (_FacilityAnalyst3DPar) {
4653446535
}
4653546536

4653646537
/**
46537-
* @inheritDoc
46538+
* @function SuperMap.FacilityAnalystSources3DParameters.prototype.destroy
46539+
* @override
4653846540
*/
4653946541

4654046542

@@ -51118,7 +51120,7 @@ var GetFeaturesByBoundsParameters = function (_GetFeaturesParameter) {
5111851120
}
5111951121

5112051122
/**
51121-
* @function: SuperMap.GetFeaturesByBoundsParameters.toJsonParameters
51123+
* @function SuperMap.GetFeaturesByBoundsParameters.toJsonParameters
5112251124
* @description 将SuperMap.GetFeaturesByBoundsParameters对象参数转换为JSON字符串。
5112351125
* @param params - {SuperMap.GetFeaturesByBoundsParameters} 范围查询参数。
5112451126
* @return {string} 转化后的JSON字符串。

dist/iclient9-mapboxgl.js

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

dist/iclient9-openlayers.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32982,7 +32982,7 @@ var ProcessingService = function (_ServiceBase) {
3298232982

3298332983
/**
3298432984
* @function ol.supermap.ProcessingService.prototype.addKernelDensityJob
32985-
* @function 新建一个密度分析。
32985+
* @description 新建一个密度分析。
3298632986
* @param params -{SuperMap.KernelDensityJobParameter} 创建一个空间分析的请求参数。
3298732987
* @param callback - {function} 请求结果的回调函数。
3298832988
* @param seconds - {number}开始创建后,获取创建成功结果的时间间隔。
@@ -33174,7 +33174,7 @@ var ProcessingService = function (_ServiceBase) {
3317433174

3317533175
/**
3317633176
* @function ol.supermap.ProcessingService.prototype.addQueryJob
33177-
* @function 新建一个单对象查询分析。
33177+
* @description 新建一个单对象查询分析。
3317833178
* @param params -{SuperMap.SingleObjectQueryJobsParameter} 创建一个空间分析的请求参数。
3317933179
* @param callback - {function} 请求结果的回调函数。
3318033180
* @param seconds - {number}开始创建后,获取创建成功结果的时间间隔。
@@ -37123,6 +37123,7 @@ var GeoText = function (_Geometry) {
3712337123
}
3712437124

3712537125
/**
37126+
* @function SuperMap.Geometry.GeoText.prototype.getCentroid
3712637127
* @description 获取标签对象的质心。
3712737128
* @returns {SuperMap.Geometry.Point} 标签对象的质心。
3712837129
*/
@@ -43396,7 +43397,8 @@ var FacilityAnalystSources3DParameters = function (_FacilityAnalyst3DPar) {
4339643397
}
4339743398

4339843399
/**
43399-
* @inheritDoc
43400+
* @function SuperMap.FacilityAnalystSources3DParameters.prototype.destroy
43401+
* @override
4340043402
*/
4340143403

4340243404

@@ -47980,7 +47982,7 @@ var GetFeaturesByBoundsParameters = function (_GetFeaturesParameter) {
4798047982
}
4798147983

4798247984
/**
47983-
* @function: SuperMap.GetFeaturesByBoundsParameters.toJsonParameters
47985+
* @function SuperMap.GetFeaturesByBoundsParameters.toJsonParameters
4798447986
* @description 将SuperMap.GetFeaturesByBoundsParameters对象参数转换为JSON字符串。
4798547987
* @param params - {SuperMap.GetFeaturesByBoundsParameters} 范围查询参数。
4798647988
* @return {string} 转化后的JSON字符串。

src/common/commontypes/geometry/GeoText.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export default class GeoText extends Geometry {
8585
}
8686

8787
/**
88+
* @function SuperMap.Geometry.GeoText.prototype.getCentroid
8889
* @description 获取标签对象的质心。
8990
* @returns {SuperMap.Geometry.Point} 标签对象的质心。
9091
*/

src/common/iServer/FacilityAnalystSources3DParameters.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ export default class FacilityAnalystSources3DParameters extends FacilityAnalyst3
2323
}
2424

2525
/**
26-
* @inheritDoc
26+
* @function SuperMap.FacilityAnalystSources3DParameters.prototype.destroy
27+
* @override
2728
*/
2829
destroy() {
2930
super.destroy();

src/common/iServer/GetFeaturesByBoundsParameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default class GetFeaturesByBoundsParameters extends GetFeaturesParameters
8989
}
9090

9191
/**
92-
* @function: SuperMap.GetFeaturesByBoundsParameters.toJsonParameters
92+
* @function SuperMap.GetFeaturesByBoundsParameters.toJsonParameters
9393
* @description 将SuperMap.GetFeaturesByBoundsParameters对象参数转换为JSON字符串。
9494
* @param params - {SuperMap.GetFeaturesByBoundsParameters} 范围查询参数。
9595
* @return {string} 转化后的JSON字符串。

src/mapboxgl/overlay/mapv/MapExtend.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ mapboxgl.supermap = mapboxgl.supermap || {};
44
mapboxgl.supermap.map = mapboxgl.supermap.map || {};
55

66
/**
7-
* 配置默认底图样式
7+
* @class mapboxgl.supermap.map.getDefaultVectorTileStyle
8+
* @description 配置默认底图样式
89
*/
910
export var getDefaultVectorTileStyle = function (urlTemplate, options) {
1011
options = options || {};
@@ -39,7 +40,8 @@ export var getDefaultVectorTileStyle = function (urlTemplate, options) {
3940
};
4041

4142
/**
42-
* 设置地图背景
43+
* @class mapboxgl.supermap.map.setBackground
44+
* @description 设置地图背景
4345
*/
4446
export var setBackground = function (map, color) {
4547
if (color && map) {
@@ -54,7 +56,8 @@ export var setBackground = function (map, color) {
5456
};
5557

5658
/**
57-
* 设置图层风格
59+
* @class mapboxgl.supermap.map.setPaintProperty
60+
* @description 设置图层风格
5861
* @param map
5962
* @param layerIds
6063
* @param type

src/openlayers/services/ProcessingService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default class ProcessingService extends ServiceBase {
8080

8181
/**
8282
* @function ol.supermap.ProcessingService.prototype.addKernelDensityJob
83-
* @function 新建一个密度分析。
83+
* @description 新建一个密度分析。
8484
* @param params -{SuperMap.KernelDensityJobParameter} 创建一个空间分析的请求参数。
8585
* @param callback - {function} 请求结果的回调函数。
8686
* @param seconds - {number}开始创建后,获取创建成功结果的时间间隔。
@@ -248,7 +248,7 @@ export default class ProcessingService extends ServiceBase {
248248

249249
/**
250250
* @function ol.supermap.ProcessingService.prototype.addQueryJob
251-
* @function 新建一个单对象查询分析。
251+
* @description 新建一个单对象查询分析。
252252
* @param params -{SuperMap.SingleObjectQueryJobsParameter} 创建一个空间分析的请求参数。
253253
* @param callback - {function} 请求结果的回调函数。
254254
* @param seconds - {number}开始创建后,获取创建成功结果的时间间隔。

0 commit comments

Comments
 (0)