Skip to content

Commit ee0d3bf

Browse files
authored
Refactor JSDoc comments and remove whitespace
Remove extra whitespace and clean up JSDoc comments.
1 parent 5aa7981 commit ee0d3bf

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

src/common/mapping/WebMapBase.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -500,17 +500,18 @@ export function createWebMapBaseExtending(SuperClass, { mapRepo }) {
500500
this._cacheCleanLayers = [];
501501
this.clean(false);
502502
}
503-
504503
/**
505-
* @version 11.3.0
506-
* @function WebMapBase.prototype.changeBaseLayer
507-
* @description 切换底图
508-
* @param {BaseLayerConfig} layer - 图层配置对象
509-
* @typedef {Object} BaseLayerConfig
504+
* @typedef {Object} BaseLayerConfig
510505
* @property {string} id - 唯一标识
511506
* @property {string} title - 显示名称
512507
* @property {Array<Object>} layers - 上图的图层
513508
* @property {Object} sources - 图层对应的source
509+
*/
510+
/**
511+
* @version 11.3.0
512+
* @function WebMapBase.prototype.changeBaseLayer
513+
* @description 切换底图
514+
* @param {BaseLayerConfig} layer - 图层配置对象
514515
* @returns {Object} 当前底图信息
515516
*/
516517
changeBaseLayer() {

0 commit comments

Comments
 (0)