Skip to content

Commit a66b9ac

Browse files
[fix]修改api review by xiongjj
1 parent a1f03cd commit a66b9ac

28 files changed

+108
-50
lines changed

build/jsdocs/classic/docs.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,13 @@
4040
"src/common/iServer/DatasourceConnectionInfo.js",
4141
"src/common/iServer/SetDatasourceParameters.js",
4242
"src/common/commontypes/Bounds.js",
43+
"src/common/commontypes/Size.js",
44+
"src/common/commontypes/geometry/Point.js",
45+
"src/common/commontypes/Geometry.js",
4346
"src/common/commontypes/LonLat.js",
4447
"src/common/commontypes/Pixel.js",
48+
"src/common/commontypes/Events.js",
49+
"src/common/commontypes/Event.js",
4550
"src/common/REST.js"
4651
],
4752
"exclude": [

build/jsdocs/leaflet/docs.json

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,54 @@
2424
],
2525
"exclude": [
2626
"src/common/overlay/levelRenderer",
27-
"src/common/lang/locales"
27+
"src/common/lang/locales",
28+
"src/common/iPortal/iPortalQueryResult",
29+
"src/common/iManager/iManagerServiceBase",
30+
"src/common/online/OnlineServiceBase",
31+
"src/common/online/OnlineData",
32+
"src/common/iServer/GetFeaturesServiceBase",
33+
"src/common/iServer/NetworkAnalystServiceBase",
34+
"src/common/iServer/SpatialAnalystBase",
35+
"src/common/iServer/ProcessingServiceBase",
36+
"src/common/iServer/PointWithMeasure",
37+
"src/common/iServer/ServerTheme",
38+
"src/common/overlay/RankSymbol",
39+
"src/common/overlay/ThemeVector",
40+
"src/common/overlay/Graph",
41+
"src/common/overlay/feature/ShapeFactory",
42+
"src/common/overlay/feature/ShapeParameters",
43+
"src/common/overlay/feature/Rectangle",
44+
"src/common/overlay/feature/Circle",
45+
"src/common/overlay/feature/Image",
46+
"src/common/overlay/feature/Label",
47+
"src/common/overlay/feature/Line",
48+
"src/common/overlay/feature/Point",
49+
"src/common/overlay/feature/Polygon",
50+
"src/common/overlay/feature/Sector",
51+
"src/common/commontypes/Credential",
52+
"src/common/components/chart/ChartViewModel",
53+
"src/common/components/util/Util",
54+
"src/common/components/templates/AttributesPopContainer",
55+
"src/common/components/templates/CityTabsPage",
56+
"src/common/components/templates/CommonContainer",
57+
"src/common/components/templates/DropDownBox",
58+
"src/common/components/templates/NavTabsPage",
59+
"src/common/components/templates/IndexTabsPageContainer",
60+
"src/common/components/templates/PaginationContainer",
61+
"src/common/components/templates/PopContainer",
62+
"src/common/components/templates/Select",
63+
"src/common/security/KeyServiceParameter",
64+
65+
"src/leaflet/components/clientcomputation/ClientComputationViewModel",
66+
"src/leaflet/components/dataflow/DataFlowViewModel",
67+
"src/leaflet/overlay/dataflow/MapvRenderer",
68+
"src/leaflet/overlay/dataflow/NormalRenderer",
69+
"src/leaflet/components/search/SearchViewModel",
70+
"src/leaflet/components/dataservicequery/DataServiceQueryViewModel",
71+
"src/leaflet/components/distributedanalysis/DistributedAnalysisViewModel",
72+
"src/leaflet/components/openfile/OpenFileViewModel",
73+
"src/leaflet/components/commonmodels/GeoJsonLayersModel" ,
74+
"src/leaflet/core/CommontypesConversion"
2875
]
2976

3077
},

build/jsdocs/template/typeLinkExt.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ var typeLinks = {
2626
"ol.style.Fill": olapi + "module-ol_style_Fill-Fill.html",
2727
"ol.style.Stroke": olapi + "module-ol_style_Stroke-Stroke.html",
2828
"ol.style.RegularShape": olapi + "module-ol_style_RegularShape.html",
29+
"ol.style.Style": olapi + "module-ol_style_Style-Style.html",
2930
"ol.Object": olapi + "module-ol_Object-BaseObject.html",
3031
"ol.source.ImageCanvas": olapi + "module-ol_source_ImageCanvas-ImageCanvasSource.html",
3132
"ol.source.TileImage": olapi + "module-ol_source_TileImage-TileImage.html",
@@ -101,8 +102,10 @@ var typeLinks = {
101102
"JSONObject": webApi + 'JavaScript/Reference/Global_Objects/JSON',
102103
"CanvasRenderingContext2D": webApi + 'API/CanvasRenderingContext2D',
103104
"HTMLElement": webApi + 'API/HTMLElement',
105+
"HTMLVideoElement": webApi + 'API/HTMLVideoElement',
104106
"HTMLCanvasElement": webApi + 'API/HTMLCanvasElement',
105107
"HTMLImageElement": webApi + 'API/HTMLImageElement',
108+
"ImageData": webApi + 'API/ImageData',
106109
"CanvasGradient": webApi + 'API/CanvasGradient',
107110

108111
// THREE
@@ -113,6 +116,9 @@ var typeLinks = {
113116
"THREE.WebGLRenderer": threeApi + '#api/renderers/WebGLRenderer',
114117
"THREE.Material": threeApi + '#api/en/materials/Material',
115118
"THREE.Mesh": threeApi + '#api/objects/Mesh',
116-
"THREE.Shape": threeApi + '#api/extras/core/Shape'
119+
"THREE.Shape": threeApi + '#api/extras/core/Shape',
120+
121+
// TF
122+
'tf.GraphModel': 'https://js.tensorflow.org/api/latest/#class:GraphModel'
117123
}
118124
exports.typeLinks = typeLinks;

src/classic/overlay/MapVLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class MapVLayer extends SuperMap.Layer {
3737
this.supported = false;
3838

3939
/**
40-
* @member {Canvas} SuperMap.Layer.MapVLayer.prototype.canvas
40+
* @member {HTMLCanvasElement} SuperMap.Layer.MapVLayer.prototype.canvas
4141
* @description MapV 图主绘制面板。
4242
*/
4343
this.canvas = null;

src/common/format/GeoJSON.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ export class GeoJSON extends JSONFormat {
345345
/**
346346
* @function GeoJSONFormat.extract.multilinestring
347347
* @description 从一个多线对象中返回一个线数组。
348-
* @param {MultiLinestring} multilinestring - 多线对象。
348+
* @param {GeometryMultiLineString} multilinestring - 多线对象。
349349
*
350350
* @returns {Array} 一个表示多线的线数组。
351351
*/

src/common/iServer/ChartQueryParameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {ChartQueryFilterParameter} from './ChartQueryFilterParameter';
1313
* @param {Object} options - 参数。
1414
* @param {string} options.queryMode - 海图查询模式类型,支持两种查询方式:海图属性查询("ChartAttributeQuery")和海图空间查询("ChartBoundsQuery")。
1515
* @param {Array.<string>} options.chartLayerNames - 查询的海图图层的名称。
16-
* @param {Array.<{ChartQueryFilterParameter}>} options.chartQueryFilterParameters - 海图查询过滤参数。包括:物标代码、物标可应用对象的选择(是否查询点、线或面)、属性字段过滤条件。
16+
* @param {Array.<ChartQueryFilterParameter>} options.chartQueryFilterParameters - 海图查询过滤参数。包括:物标代码、物标可应用对象的选择(是否查询点、线或面)、属性字段过滤条件。
1717
* @param {(Bounds|L.Bounds|ol.extent)} [options.bounds] - 海图查询范围。当进行海图范围查询时,此参数为必选。
1818
* @param {boolean} [options.returnContent=true] - 获取或设置是返回查询结果记录集 recordsets,还是返回查询结果的资源 resourceInfo。
1919
* @param {number} [options.startRecord=0] - 查询起始记录位置。

src/common/iServer/DataFlowService.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export class DataFlowService extends CommonServiceBase {
100100
/**
101101
* @function DataFlowService.prototype.initSubscribe
102102
* @description 初始化订阅数据
103-
* @returns {this} this
103+
* @returns {DataFlowService} DataFlowService的实例对象。
104104
*/
105105
initSubscribe() {
106106
var me = this;
@@ -125,7 +125,7 @@ export class DataFlowService extends CommonServiceBase {
125125
* @function DataFlowService.prototype.setExcludeField
126126
* @description 设置排除字段
127127
* @param {Object} excludeField - 排除字段
128-
* @returns {this} this
128+
* @returns {DataFlowService} DataFlowService的实例对象。
129129
*/
130130
setExcludeField(excludeField) {
131131
this.excludeField = excludeField;
@@ -137,7 +137,7 @@ export class DataFlowService extends CommonServiceBase {
137137
* @function DataFlowService.prototype.setGeometry
138138
* @description 设置添加的几何要素数据
139139
* @param {GeoJSONObject} geometry - 指定几何范围,该范围内的要素才能被订阅。
140-
* @returns {this} this
140+
* @returns {DataFlowService} DataFlowService的实例对象。
141141
*/
142142
setGeometry(geometry) {
143143
this.geometry = geometry;

src/common/iServer/GeoprocessingService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class GeoprocessingService extends CommonServiceBase {
7979
* @param {string} identifier - 处理自动化工具ID。
8080
* @param {Object} options - 状态信息参数。
8181
* @param {number} options.interval - 定时器时间间隔。
82-
* @param {Callback} options.statusCallback - 任务状态的回调函数。
82+
* @param {function} options.statusCallback - 任务状态的回调函数。
8383
*/
8484
waitForJobCompletion(jobId, identifier, options) {
8585
const me = this;

src/common/iServer/InterpolationAnalystParameters.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import {
55
Util
66
} from '../commontypes/Util';
7-
import './ClipParameter';
87

98
/**
109
* @class InterpolationAnalystParameters
@@ -118,7 +117,7 @@ export class InterpolationAnalystParameters {
118117
this.InterpolationAnalystType = "dataset";
119118

120119
/**
121-
* @member {Object} InterpolationAnalystParameters.prototype.clipParam
120+
* @member {ClipParameter} InterpolationAnalystParameters.prototype.clipParam
122121
* @description 对插值分析结果进行裁剪的参数。
123122
*/
124123
this.clipParam = null;

src/common/iServer/InterpolationAnalystService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class InterpolationAnalystService extends SpatialAnalystBase {
6363
/**
6464
* @function InterpolationAnalystService.prototype.processAsync
6565
* @description 负责将客户端的查询参数传递到服务端。
66-
* @param {InterpolationAnalystParameters} parameter - 插值分析参数类。
66+
* @param {InterpolationDensityAnalystParameters|InterpolationIDWAnalystParameters|InterpolationRBFAnalystParameters|InterpolationKrigingAnalystParameters} parameter - 插值分析参数类。
6767
*/
6868
processAsync(parameter) {
6969
var parameterObject = {};

0 commit comments

Comments
 (0)