Skip to content

Commit 3c4633b

Browse files
committed
增加category标签
1 parent a13c679 commit 3c4633b

Some content is hidden

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

86 files changed

+170
-22
lines changed

src/common/commontypes/geometry/Collection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {Util} from '../Util';
88
* @classdesc 几何对象集合类,存储在本地的 components 属性中(可作为参数传递给构造函数)。<br>
99
* 随着新的几何图形添加到集合中,将不能被克隆,当移动几何图形时,需要指定参照物。<br>
1010
* getArea和getLength函数只能通过遍历存储几何对象的 components 数组,总计所有几何图形的面积和长度。
11-
*
11+
* @category BaseTypes Geometry
1212
* @extends SuperMap.Geometry
1313
* @param components - {SuperMap.Geometry[]}几何对象数组。
1414
* @example

src/common/commontypes/geometry/Curve.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {MultiPoint} from './MultiPoint';
44
/**
55
* @class SuperMap.Geometry.Curve
66
* @classdesc 几何对象曲线类。
7+
* @category BaseTypes Geometry
78
* @extends SuperMap.Geometry.MultiPoint
89
* @param components - {Array<SuperMap.Geometry.Point>}几何对象数组。
910
* @example

src/common/commontypes/geometry/GeoText.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import '../LonLat';
1010
/**
1111
* @class SuperMap.Geometry.GeoText
1212
* @classdesc 文本标签类。
13+
* @category BaseTypes Geometry
1314
* @extends {SuperMap.Geometry}
1415
* @param x {float} x-坐标,必设参数。
1516
* @param y {float} y-坐标,必设参数。

src/common/commontypes/geometry/LineString.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {Curve} from './Curve';
55
/**
66
* @class SuperMap.Geometry.LineString
77
* @classdesc 几何对象线串类。
8+
* @category BaseTypes Geometry
89
* @param points - {Array<SuperMap.Geometry.Point>} 用来生成线串的点数组。
910
* @extends {SuperMap.Geometry.Curve}
1011
*

src/common/commontypes/geometry/LinearRing.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {LineString} from './LineString';
55
* @class SuperMap.Geometry.LinearRing
66
* @classdesc 几何对象线环类,是一个特殊的封闭的线串,在每次addPoint/removePoint之后会通过添加一个点(此点是复制的第一个点得到的)
77
* 作为最后的一个点来自动关闭线环。
8+
* @category BaseTypes Geometry
89
* @extends {SuperMap.Geometry.LineString}
910
* @param points {Array<SuperMap.Geometry.Point>} 组成线性环的点。
1011
* @example

src/common/commontypes/geometry/MultiLineString.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import './LineString';
66
/**
77
* @class SuperMap.Geometry.MultiLineString
88
* @classdesc 几何对象多线类。
9+
* @category BaseTypes Geometry
910
* @extends {SuperMap.Geometry.Collection}
1011
* @param components - {Array<SuperMap.Geometry.LineString>} LineString数组。
1112
* @example

src/common/commontypes/geometry/MultiPoint.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {Collection} from './Collection';
44
/**
55
* @class SuperMap.Geometry.MultiPoint
66
* @classdesc 几何对象多点类。
7+
* @category BaseTypes Geometry
78
* @extends {SuperMap.Geometry.Collection}
89
* @param components - {Array<SuperMap.Geometry.Point>} 点对象数组。
910
* @example

src/common/commontypes/geometry/MultiPolygon.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {Collection} from './Collection';
44
/**
55
* @class SuperMap.Geometry.MultiPolygon
66
* @classdesc 几何对象多多边形类。
7+
* @category BaseTypes Geometry
78
* @extends {SuperMap.Geometry.Collection}
89
* @param components - {Array<SuperMap.Geometry.Polygon>} 形成 MultiPolygon 的多边形数组。
910
* @example

src/common/commontypes/geometry/Point.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {Util} from '../Util';
66
/**
77
* @class SuperMap.Geometry.Point
88
* @classdesc 点几何对象类。
9+
* @category BaseTypes Geometry
910
* @extends {SuperMap.Geometry}
1011
* @param x - {float} x-坐标
1112
* @param y - {float} y-坐标

src/common/commontypes/geometry/Polygon.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import './LinearRing';
77
/**
88
* @class SuperMap.Geometry.Polygon
99
* @classdesc 多边形几何对象类。
10+
* @category BaseTypes Geometry
1011
* @extends {SuperMap.Geometry.Collection}
1112
* @param components - {Array<SuperMap.Geometry.LinearRing>} 用来生成多边形的线环数组。
1213
* @example

0 commit comments

Comments
 (0)