@@ -5542,10 +5542,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
5542
5542
5543
5543
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5544
5544
5545
- /** * @class SuperMap.ServerGeometry * @description 服务端几何对象类。 * 该类描述几何对象(矢量)的特征数据(坐标点对、几何对象的类型等)。 * 基于服务端的空间分析、空间关系运算、查询等 GIS 服务功能使用服务端几何对象。 */
5545
+ /** * @private * @ class SuperMap.ServerGeometry * @description 服务端几何对象类。 * 该类描述几何对象(矢量)的特征数据(坐标点对、几何对象的类型等)。 * 基于服务端的空间分析、空间关系运算、查询等 GIS 服务功能使用服务端几何对象。 */
5546
5546
var ServerGeometry = function () {
5547
5547
5548
- /** * Constructor: SuperMap.ServerGeometry * 服务端几何对象类构造函数。 * * Parameters: * options - {Object} 参数。 * * Allowed options properties: * id - {String} 服务端几何对象唯一标识符。 * style - {<SuperMap.ServerStyle>} 服务端几何对象的风格。 * parts - {Array(Number)} 服务端几何对象中各个子对象所包含的节点个数。 * points - {Array(<Point>)} 组成几何对象的节点的坐标对数组。 * type - {<SuperMap.GeometryType>} 几何对象的类型。 */
5548
+ /* * Constructor: SuperMap.ServerGeometry * 服务端几何对象类构造函数。 * * Parameters: * options - {Object} 参数。 * * Allowed options properties: * id - {String} 服务端几何对象唯一标识符。 * style - {<SuperMap.ServerStyle>} 服务端几何对象的风格。 * parts - {Array(Number)} 服务端几何对象中各个子对象所包含的节点个数。 * points - {Array(<Point>)} 组成几何对象的节点的坐标对数组。 * type - {<SuperMap.GeometryType>} 几何对象的类型。 */
5549
5549
5550
5550
/** * APIProperty: type * {<SuperMap.GeometryType>} 几何对象的类型(GeometryType)。 */
5551
5551
@@ -6077,7 +6077,6 @@ var ServerGeometry = function () {
6077
6077
6078
6078
exports.default = ServerGeometry;
6079
6079
6080
-
6081
6080
_SuperMap2.default.ServerGeometry = ServerGeometry;
6082
6081
6083
6082
/***/ }),
@@ -35233,26 +35232,15 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
35233
35232
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
35234
35233
35235
35234
/**
35236
- * Class: SuperMap.Format.WKT
35237
- * 用于读写常见文本的类。通过 <SuperMap.Format.WKT> 构造器来创建一个新
35235
+ * @class SuperMap.Format.WKT
35236
+ * @classdesc 用于读写常见文本的类。通过 <SuperMap.Format.WKT> 构造器来创建一个新
35238
35237
* 的实例。
35239
- *
35240
- * Inherits from:
35241
- * - <SuperMap.Format>
35238
+ * @extends SuperMap.Format
35239
+ * @param options - {Object} 可选的选项对象,其属性将被设置到实例。option具体配置项继承自{@link SuperMap.Format}
35242
35240
*/
35243
35241
var WKT = function (_Format) {
35244
35242
_inherits(WKT, _Format);
35245
35243
35246
- /**
35247
- * Constructor: SuperMap.Format.WKT
35248
- * 创建一个新的WKT解析器。
35249
- *
35250
- * Parameters:
35251
- * options - {Object} 可选的选项对象,其属性将被设置到实例。
35252
- *
35253
- * Returns:
35254
- * {<SuperMap.Format.WKT>} 新的WKT解析器。
35255
- */
35256
35244
function WKT(options) {
35257
35245
_classCallCheck(this, WKT);
35258
35246
@@ -35262,7 +35250,7 @@ var WKT = function (_Format) {
35262
35250
/**
35263
35251
* Return a space delimited string of point coordinates.
35264
35252
* @param {SuperMap.Geometry.Point} point
35265
- * @returns {String} A string of coordinates representing the point
35253
+ * @returns {String} A string of coordinates representing the point
35266
35254
*/
35267
35255
'point': function point(_point) {
35268
35256
return _point.x + ' ' + _point.y;
@@ -35271,7 +35259,7 @@ var WKT = function (_Format) {
35271
35259
/**
35272
35260
* Return a comma delimited string of point coordinates from a multipoint.
35273
35261
* @param {SuperMap.Geometry.MultiPoint} multipoint
35274
- * @returns {String} A string of point coordinate strings representing
35262
+ * @returns {String} A string of point coordinate strings representing
35275
35263
* the multipoint
35276
35264
*/
35277
35265
'multipoint': function multipoint(_multipoint) {
@@ -35286,7 +35274,7 @@ var WKT = function (_Format) {
35286
35274
/**
35287
35275
* Return a comma delimited string of point coordinates from a line.
35288
35276
* @param {SuperMap.Geometry.LineString} linestring
35289
- * @returns {String} A string of point coordinate strings representing
35277
+ * @returns {String} A string of point coordinate strings representing
35290
35278
* the linestring
35291
35279
*/
35292
35280
'linestring': function linestring(_linestring) {
@@ -35301,7 +35289,7 @@ var WKT = function (_Format) {
35301
35289
/**
35302
35290
* Return a comma delimited string of linestring strings from a multilinestring.
35303
35291
* @param {SuperMap.Geometry.MultiLineString} multilinestring
35304
- * @returns {String} A string of of linestring strings representing
35292
+ * @returns {String} A string of of linestring strings representing
35305
35293
* the multilinestring
35306
35294
*/
35307
35295
'multilinestring': function multilinestring(_multilinestring) {
@@ -35316,7 +35304,7 @@ var WKT = function (_Format) {
35316
35304
/**
35317
35305
* Return a comma delimited string of linear ring arrays from a polygon.
35318
35306
* @param {SuperMap.Geometry.Polygon} polygon
35319
- * @returns {String} An array of linear ring arrays representing the polygon
35307
+ * @returns {String} An array of linear ring arrays representing the polygon
35320
35308
*/
35321
35309
'polygon': function polygon(_polygon) {
35322
35310
var array = [];
@@ -35330,7 +35318,7 @@ var WKT = function (_Format) {
35330
35318
/**
35331
35319
* Return an array of polygon arrays from a multipolygon.
35332
35320
* @param {SuperMap.Geometry.MultiPolygon} multipolygon
35333
- * @returns {String} An array of polygon arrays representing
35321
+ * @returns {String} An array of polygon arrays representing
35334
35322
* the multipolygon
35335
35323
*/
35336
35324
'multipolygon': function multipolygon(_multipolygon) {
@@ -35345,7 +35333,7 @@ var WKT = function (_Format) {
35345
35333
/**
35346
35334
* Return the WKT portion between 'GEOMETRYCOLLECTION(' and ')' for an <SuperMap.Geometry.Collection>
35347
35335
* @param {SuperMap.Geometry.Collection} collection
35348
- * @returns {String} internal WKT representation of the collection
35336
+ * @returns {String} internal WKT representation of the collection
35349
35337
*/
35350
35338
'collection': function collection(_collection) {
35351
35339
var array = [];
@@ -35359,7 +35347,7 @@ var WKT = function (_Format) {
35359
35347
/**
35360
35348
* Return point feature given a point WKT fragment.
35361
35349
* @param {String} str A WKT fragment representing the point
35362
- * @returns {SuperMap.Feature.Vector} A point feature
35350
+ * @returns {SuperMap.Feature.Vector} A point feature
35363
35351
* @private
35364
35352
*/
35365
35353
'point': function point(str) {
@@ -35370,7 +35358,7 @@ var WKT = function (_Format) {
35370
35358
/**
35371
35359
* Return a multipoint feature given a multipoint WKT fragment.
35372
35360
* @param {String} A WKT fragment representing the multipoint
35373
- * @returns {SuperMap.Feature.Vector} A multipoint feature
35361
+ * @returns {SuperMap.Feature.Vector} A multipoint feature
35374
35362
* @private
35375
35363
*/
35376
35364
'multipoint': function multipoint(str) {
@@ -35387,7 +35375,7 @@ var WKT = function (_Format) {
35387
35375
/**
35388
35376
* Return a linestring feature given a linestring WKT fragment.
35389
35377
* @param {String} A WKT fragment representing the linestring
35390
- * @returns {SuperMap.Feature.Vector} A linestring feature
35378
+ * @returns {SuperMap.Feature.Vector} A linestring feature
35391
35379
* @private
35392
35380
*/
35393
35381
'linestring': function linestring(str) {
@@ -35402,7 +35390,7 @@ var WKT = function (_Format) {
35402
35390
/**
35403
35391
* Return a multilinestring feature given a multilinestring WKT fragment.
35404
35392
* @param {String} A WKT fragment representing the multilinestring
35405
- * @returns {SuperMap.Feature.Vector} A multilinestring feature
35393
+ * @returns {SuperMap.Feature.Vector} A multilinestring feature
35406
35394
* @private
35407
35395
*/
35408
35396
'multilinestring': function multilinestring(str) {
@@ -35419,7 +35407,7 @@ var WKT = function (_Format) {
35419
35407
/**
35420
35408
* Return a polygon feature given a polygon WKT fragment.
35421
35409
* @param {String} A WKT fragment representing the polygon
35422
- * @returns {SuperMap.Feature.Vector} A polygon feature
35410
+ * @returns {SuperMap.Feature.Vector} A polygon feature
35423
35411
* @private
35424
35412
*/
35425
35413
'polygon': function polygon(str) {
@@ -35438,7 +35426,7 @@ var WKT = function (_Format) {
35438
35426
/**
35439
35427
* Return a multipolygon feature given a multipolygon WKT fragment.
35440
35428
* @param {String} A WKT fragment representing the multipolygon
35441
- * @returns {SuperMap.Feature.Vector} A multipolygon feature
35429
+ * @returns {SuperMap.Feature.Vector} A multipolygon feature
35442
35430
* @private
35443
35431
*/
35444
35432
'multipolygon': function multipolygon(str) {
@@ -35455,7 +35443,7 @@ var WKT = function (_Format) {
35455
35443
/**
35456
35444
* Return an array of features given a geometrycollection WKT fragment.
35457
35445
* @param {String} A WKT fragment representing the geometrycollection
35458
- * @returns {Array} An array of SuperMap.Feature.Vector
35446
+ * @returns {Array} An array of SuperMap.Feature.Vector
35459
35447
* @private
35460
35448
*/
35461
35449
'geometrycollection': function geometrycollection(str) {
@@ -35483,17 +35471,13 @@ var WKT = function (_Format) {
35483
35471
}
35484
35472
35485
35473
/**
35486
- * Method: read
35487
- * Deserialize a WKT string and return a vector feature or an
35474
+ * @function SuperMap.Format.WKT.prototype. read
35475
+ * @description Deserialize a WKT string and return a vector feature or an
35488
35476
* array of vector features. Supports WKT for POINT, MULTIPOINT,
35489
35477
* LINESTRING, MULTILINESTRING, POLYGON, MULTIPOLYGON, and
35490
35478
* GEOMETRYCOLLECTION.
35491
- *
35492
- * Parameters:
35493
- * wkt - {String} A WKT string
35494
- *
35495
- * Returns:
35496
- * {SuperMap.Feature.Vector|Array} A feature or array of features for
35479
+ * @param wkt - {string} A WKT string
35480
+ * @returns {SuperMap.Feature.Vector|Array} A feature or array of features for
35497
35481
* GEOMETRYCOLLECTION WKT.
35498
35482
*/
35499
35483
@@ -35525,15 +35509,10 @@ var WKT = function (_Format) {
35525
35509
}
35526
35510
35527
35511
/**
35528
- * Method: write
35529
- * Serialize a feature or array of features into a WKT string.
35530
- *
35531
- * Parameters:
35532
- * features - {SuperMap.Feature.Vector|Array} A feature or array of
35533
- * features
35534
- *
35535
- * Returns:
35536
- * {String} The WKT string representation of the input geometries
35512
+ * @function SuperMap.Format.WKT.prototype.write
35513
+ * @description Serialize a feature or array of features into a WKT string.
35514
+ * @param features - {SuperMap.Feature.Vector|Array} A feature or array of features
35515
+ * @returns {string} The WKT string representation of the input geometries
35537
35516
*/
35538
35517
35539
35518
}, {
@@ -35565,14 +35544,10 @@ var WKT = function (_Format) {
35565
35544
}
35566
35545
35567
35546
/**
35568
- * Method: extractGeometry
35569
- * Entry point to construct the WKT for a single Geometry object.
35570
- *
35571
- * Parameters:
35572
- * geometry - {<SuperMap.Geometry.Geometry>}
35573
- *
35574
- * Returns:
35575
- * {String} A WKT string of representing the geometry
35547
+ * @function SuperMap.Format.WKT.prototype.extractGeometry
35548
+ * @description Entry point to construct the WKT for a single Geometry object.
35549
+ * @param geometry - {SuperMap.Geometry}
35550
+ * @returns {string} A WKT string of representing the geometry
35576
35551
*/
35577
35552
35578
35553
}, {
@@ -35592,13 +35567,15 @@ var WKT = function (_Format) {
35592
35567
}
35593
35568
35594
35569
/**
35595
- * Object with properties corresponding to the geometry types.
35570
+ * @private
35571
+ * @description Object with properties corresponding to the geometry types.
35596
35572
* Property values are functions that do the actual data extraction.
35597
35573
*/
35598
35574
35599
35575
35600
35576
/**
35601
- * Object with properties corresponding to the geometry types.
35577
+ * @private
35578
+ * @description Object with properties corresponding to the geometry types.
35602
35579
* Property values are functions that do the actual parsing.
35603
35580
*/
35604
35581
@@ -46615,7 +46592,7 @@ var ThemeGridRangeItem = function () {
46615
46592
46616
46593
46617
46594
/**
46618
- * @member @member SuperMap.ThemeGridRangeItem.prototype.color -{SuperMap.ServerColor}
46595
+ * @member SuperMap.ThemeGridRangeItem.prototype.color -{SuperMap.ServerColor}
46619
46596
* @description 栅格分段专题图中每一个分段专题图子项的对应的颜色。
46620
46597
*/
46621
46598
function ThemeGridRangeItem(options) {
0 commit comments