Skip to content

Commit c489b1f

Browse files
committed
fix 漏修改注释
1 parent e607394 commit c489b1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/iclient9-openlayers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21126,7 +21126,7 @@ var Label = function (_GeoFeature) {
2112621126
* @description 获得标签要素的最终范围的另一种算法(通过记录下的标签宽高),提高计算bounds的效率。
2112721127
*
2112821128
* @param feature - {SuperMap.Feature.Vector} 需要计算bounds的标签要素数。
21129-
* @param loc - {ol.geom.Point} 标签位置
21129+
* @param loc - {Object} 标签位置,例如:{"x":1,"y":1}
2113021130
*
2113121131
* @return {Array<Object>} 四边形节点数组。例如:[{"x":1,"y":1},{"x":3,"y":1},{"x":6,"y":4},{"x":2,"y":10},{"x":1,"y":1}]。
2113221132
*/

src/openlayers/overlay/Label.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ export default class Label extends GeoFeature {
474474
* @description 获得标签要素的最终范围的另一种算法(通过记录下的标签宽高),提高计算bounds的效率。
475475
*
476476
* @param feature - {SuperMap.Feature.Vector} 需要计算bounds的标签要素数。
477-
* @param loc - {ol.geom.Point} 标签位置
477+
* @param loc - {Object} 标签位置,例如:{"x":1,"y":1}
478478
*
479479
* @return {Array<Object>} 四边形节点数组。例如:[{"x":1,"y":1},{"x":3,"y":1},{"x":6,"y":4},{"x":2,"y":10},{"x":1,"y":1}]。
480480
*/

0 commit comments

Comments
 (0)