Skip to content

Commit 5a9d9fa

Browse files
committed
优化echartsLayer 规范注释
1 parent cd62994 commit 5a9d9fa

File tree

121 files changed

+37686
-37667
lines changed

Some content is hidden

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

121 files changed

+37686
-37667
lines changed

dist/iclient9-leaflet.js

Lines changed: 35721 additions & 35709 deletions
Large diffs are not rendered by default.

dist/iclient9-leaflet.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-legacy.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ SuperMap.ProcessingJobsServiceBase = SuperMap.Class(ServiceBase, {
15371537

15381538
/**
15391539
*
1540-
* @param url 一个空间分析作业的资源地址。
1540+
* @param url - 一个空间分析作业的资源地址。
15411541
*/
15421542
getJobs: function getJobs(url) {
15431543
var me = this;
@@ -1552,10 +1552,10 @@ SuperMap.ProcessingJobsServiceBase = SuperMap.Class(ServiceBase, {
15521552

15531553
/**
15541554
*
1555-
* @param url 分布式空间分析作业资源根地址。
1556-
* @param params 创建一个空间分析作业的请求参数。
1557-
* @param paramType 请求参数类型。
1558-
* @param seconds 开始创建作业后,获取创建成功结果的时间间隔。
1555+
* @param url - 分布式空间分析作业资源根地址。
1556+
* @param params - 创建一个空间分析作业的请求参数。
1557+
* @param paramType - 请求参数类型。
1558+
* @param seconds - 开始创建作业后,获取创建成功结果的时间间隔。
15591559
*/
15601560
addJob: function addJob(url, params, paramType, seconds) {
15611561
var me = this,
@@ -1942,7 +1942,7 @@ SuperMap.Layer.MapVLayer = SuperMap.Class(SuperMap.Layer, {
19421942
* 如果当前浏览器支持canvas,则开始渲染要素;如果不支持则移除图层。
19431943
*
19441944
* Parameters:
1945-
* map - {<SuperMap.Map>}需要绑定的map对象。
1945+
* map - {SuperMap.Map}需要绑定的map对象。
19461946
*/
19471947
setMap: function setMap(map) {
19481948
SuperMap.Layer.prototype.setMap.apply(this, arguments);
@@ -1960,7 +1960,7 @@ SuperMap.Layer.MapVLayer = SuperMap.Class(SuperMap.Layer, {
19601960
* 修改当前显示范围,当平移或者缩放结束后开始重绘MapV图的渲染效果。
19611961
*
19621962
* Parameters:
1963-
* bounds - {<SuperMap.Bounds>}
1963+
* bounds - {SuperMap.Bounds}
19641964
* zoomChanged - {Boolean}
19651965
* dragging - {Boolean}
19661966
*/
@@ -3232,7 +3232,7 @@ SuperMap.SecurityManager = {
32323232
/**
32333233
*
32343234
* @description 从服务器获取一个token,在此之前要注册服务器信息
3235-
* @param url {String}服务器域名+端口,如:http://localhost:8092
3235+
* @param url {String} -服务器域名+端口,如:http://localhost:8092
32363236
* @param tokenParam {SuperMap.TokenServiceParameter}
32373237
*/
32383238
generateToken: function generateToken(url, tokenParam) {
@@ -3263,7 +3263,7 @@ SuperMap.SecurityManager = {
32633263

32643264
/**
32653265
* @description 服务请求都会自动带上这个token
3266-
* @param url {String}服务器域名+端口:如http://localhost:8090
3266+
* @param url {String} - 服务器域名+端口:如http://localhost:8090
32673267
* @param token {String}
32683268
*/
32693269
registerToken: function registerToken(url, token) {

dist/iclient9-openlayers.js

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

dist/iclient9-openlayers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/common/format/GeoJSON.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
156156
* obj - {Object} 从GeoJSON对象中创建一个对象。
157157
*
158158
* Returns:
159-
* {<SuperMap.Feature.Vector>} 一个要素。
159+
* {SuperMap.Feature.Vector} 一个要素。
160160
*/
161161
parseFeature: function (obj) {
162162
var feature, geometry, attributes, bbox;
@@ -186,7 +186,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
186186
* obj - {Object} 从GeoJSON对象中创建一个对象。
187187
*
188188
* Returns:
189-
* {<SuperMap.Geometry>} 一个几何要素。
189+
* {SuperMap.Geometry} 一个几何要素。
190190
*/
191191
parseGeometry: function (obj) {
192192
if (obj == null) {
@@ -244,7 +244,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
244244
* array - {Object} GeoJSON片段中的一组坐标。
245245
*
246246
* Returns:
247-
* {<SuperMap.Geometry>} 一个几何对象。
247+
* {SuperMap.Geometry} 一个几何对象。
248248
*/
249249
"point": function (array) {
250250
if (this.ignoreExtraDims == false &&
@@ -262,7 +262,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
262262
* array - {Object} GeoJSON片段中的坐标组数组。
263263
*
264264
* Returns:
265-
* {<SuperMap.Geometry>} 一个几何对象。
265+
* {SuperMap.Geometry} 一个几何对象。
266266
*/
267267
"multipoint": function (array) {
268268
var points = [];
@@ -286,7 +286,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
286286
* array - {Object} GeoJSON片段中的坐标组数组。
287287
*
288288
* Returns:
289-
* {<SuperMap.Geometry>} 一个几何对象。
289+
* {SuperMap.Geometry} 一个几何对象。
290290
*/
291291
"linestring": function (array) {
292292
var points = [];
@@ -310,7 +310,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
310310
* array - {Object} GeoJSON片段中的坐标组数组。
311311
*
312312
* Returns:
313-
* {<SuperMap.Geometry>} 一个几何对象。
313+
* {SuperMap.Geometry} 一个几何对象。
314314
*/
315315
"multilinestring": function (array) {
316316
var lines = [];
@@ -331,7 +331,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
331331
* 将坐标组数组转化成为一个<SuperMap.Geometry>对象。
332332
*
333333
* Returns:
334-
* {<SuperMap.Geometry>} 一个几何对象。
334+
* {SuperMap.Geometry} 一个几何对象。
335335
*/
336336
"polygon": function (array) {
337337
var rings = [];
@@ -356,7 +356,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
356356
* array - {Object} GeoJSON片段中的坐标组数组。
357357
*
358358
* Returns:
359-
* {<SuperMap.Geometry>} 一个几何对象。
359+
* {SuperMap.Geometry} 一个几何对象。
360360
*/
361361
"multipolygon": function (array) {
362362
var polys = [];
@@ -380,7 +380,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
380380
* array - {Object} GeoJSON片段中的坐标组数组。
381381
*
382382
* Returns:
383-
* {<SuperMap.Geometry>} 一个几何对象。
383+
* {SuperMap.Geometry} 一个几何对象。
384384
*/
385385
"box": function (array) {
386386
if (array.length != 2) {
@@ -447,7 +447,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
447447
* 从一个要素对象中创建一个坐标参考系对象。
448448
*
449449
* Parameters:
450-
* object - {<SuperMap.Feature.Vector>} 要素对象
450+
* object - {SuperMap.Feature.Vector} 要素对象
451451
*
452452
* Returns:
453453
* {Object} 一个可作为GeoJSON对象的crs属性使用的对象。
@@ -550,7 +550,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
550550
* 从一个点对象中返回一个坐标组。
551551
*
552552
* Parameters:
553-
* point - {<SuperMap.Geometry.Point>} 一个点对象。
553+
* point - {SuperMap.Geometry.Point} 一个点对象。
554554
*
555555
* Returns:
556556
* {Array} 一个表示一个点的坐标组。
@@ -578,7 +578,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
578578
* 从一个多点对象中返一个坐标组数组。
579579
*
580580
* Parameters:
581-
* multipoint - {<SuperMap.Geometry.MultiPoint>} 多点对象。
581+
* multipoint - {SuperMap.Geometry.MultiPoint} 多点对象。
582582
*
583583
* Returns:
584584
* {Array} 一个表示多点的坐标组数组。
@@ -596,7 +596,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
596596
* 从一个线对象中返回一个坐标组数组。
597597
*
598598
* Parameters:
599-
* linestring - {<SuperMap.Geometry.LineString>} 线对象。
599+
* linestring - {SuperMap.Geometry.LineString} 线对象。
600600
*
601601
* Returns:
602602
* {Array} 一个表示线对象的坐标组数组。
@@ -614,7 +614,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
614614
* 从一个多线对象中返回一个线数组。
615615
*
616616
* Parameters:
617-
* multilinestring - {<SuperMap.Geometry.MultiLineString>} 多线对象
617+
* multilinestring - {SuperMap.Geometry.MultiLineString} 多线对象
618618
*
619619
* Returns:
620620
* {Array} 一个表示多线的线数组。
@@ -632,7 +632,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
632632
* 从一个面对象中返回一组线环。
633633
*
634634
* Parameters:
635-
* polygon - {<SuperMap.Geometry.Polygon> 面对象。
635+
* polygon - {SuperMap.Geometry.Polygon> 面对象。
636636
*
637637
* Returns:
638638
* {Array} 一组表示面的线环。
@@ -650,7 +650,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
650650
* 从一个多面对象中返回一组面。
651651
*
652652
* Parameters:
653-
* multipolygon - {<SuperMap.Geometry.MultiPolygon>} 多面对象。
653+
* multipolygon - {SuperMap.Geometry.MultiPolygon} 多面对象。
654654
*
655655
* Returns:
656656
* {Array} 一组表示多面的面。
@@ -668,7 +668,7 @@ SuperMap.Format.GeoJSON = SuperMap.Class(SuperMap.Format.JSON, {
668668
* 从一个几何要素集合中一组几何要素数组。
669669
*
670670
* Parameters:
671-
* collection - {<SuperMap.Geometry.Collection>} 几何要素集合。
671+
* collection - {SuperMap.Geometry.Collection} 几何要素集合。
672672
*
673673
* Returns:
674674
* {Array} 一组表示几何要素集合的几何要素数组。

src/common/iServer/Bar.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,14 @@ SuperMap.Feature.Theme.Bar = SuperMap.Class(SuperMap.Feature.Theme.Graph, {
107107
* 创建一个柱状图表。
108108
*
109109
* Parameters:
110-
* data - {<SuperMap.Feature.Vector>} 用户数据,必设参数。
111-
* layer - {<SuperMap.Layer.Graph>} 此专题要素所在图层,必设参数。
110+
* data - {SuperMap.Feature.Vector} 用户数据,必设参数。
111+
* layer - {SuperMap.Layer.Graph} 此专题要素所在图层,必设参数。
112112
* fields - {Array{String}} data 属性中的参与此图表生成的属性字段名称,必设参数。
113113
* setting - {Object} 图表配置对象,必设参数。
114-
* lonlat - {<SuperMap.LonLat>} 专题要素地理位置。默认为 data 指代的地理要素 Bounds 中心。
114+
* lonlat - {SuperMap.LonLat} 专题要素地理位置。默认为 data 指代的地理要素 Bounds 中心。
115115
*
116116
* Returns:
117-
* {<SuperMap.Feature.Theme.Bar>} 返回一个柱状图表对象。
117+
* {SuperMap.Feature.Theme.Bar} 返回一个柱状图表对象。
118118
*/
119119
initialize: function(data, layer, fields, setting, lonlat) {
120120
SuperMap.Feature.Theme.Graph.prototype.initialize.apply(this, arguments);

src/common/iServer/Bar3D.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,14 @@ SuperMap.Feature.Theme.Bar3D = SuperMap.Class(SuperMap.Feature.Theme.Graph, {
203203
* 创建一个三维柱状图表。
204204
*
205205
* Parameters:
206-
* data - {<SuperMap.Feature.Vector>} 用户数据,必设参数。
207-
* layer - {<SuperMap.Layer.Graph>} 此专题要素所在图层,必设参数。
206+
* data - {SuperMap.Feature.Vector} 用户数据,必设参数。
207+
* layer - {SuperMap.Layer.Graph} 此专题要素所在图层,必设参数。
208208
* fields - {Array{String}} data 中的参与此图表生成的字段名称,必设参数。
209209
* setting - {Object} 图表配置对象,必设参数。
210-
* lonlat - {<SuperMap.LonLat>} 专题要素地理位置。默认为 data 指代的地理要素 Bounds 中心。
210+
* lonlat - {SuperMap.LonLat} 专题要素地理位置。默认为 data 指代的地理要素 Bounds 中心。
211211
*
212212
* Returns:
213-
* {<SuperMap.Feature.Theme.Bar3D>} 返回一个三维柱状图表对象。
213+
* {SuperMap.Feature.Theme.Bar3D} 返回一个三维柱状图表对象。
214214
*/
215215
initialize: function(data, layer, fields, setting, lonlat) {
216216
SuperMap.Feature.Theme.Graph.prototype.initialize.apply(this, arguments);

src/common/iServer/BufferAnalystParameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SuperMap.BufferAnalystParameters = SuperMap.Class({
1111

1212
/**
1313
* APIProperty: bufferSetting
14-
* {<SuperMap.BufferSetting>} 设置缓冲区通用参数。
14+
* {SuperMap.BufferSetting} 设置缓冲区通用参数。
1515
* 为缓冲区分析提供必要的参数信息,包括左缓冲距离、右缓冲距离、端点类型、圆头缓冲圆弧处线段的个数信息。
1616
*/
1717
bufferSetting: null,

src/common/iServer/BufferAnalystService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ SuperMap.BufferAnalystService = SuperMap.Class(SuperMap.SpatialAnalystBase, {
2828

2929
/**
3030
* Property: mode
31-
* {<String>} 缓冲区分析类型
31+
* {String} 缓冲区分析类型
3232
*/
3333
mode: null,
3434

0 commit comments

Comments
 (0)