Skip to content

Commit f2414f9

Browse files
committed
【docs】fix docs
1 parent 7ff5c72 commit f2414f9

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

build/jsdocs/leaflet/docs.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@
6464
"src/common/components/templates/Select",
6565
"src/common/security/KeyServiceParameter",
6666
"src/common/components/templates/TemplateBase",
67-
67+
"src/common/mapping/utils/L7LayerUtil",
68+
"src/common/mapping/utils/Color",
69+
"src/common/mapping/utils/util",
70+
6871
"src/leaflet/components/clientcomputation/ClientComputationViewModel",
6972
"src/leaflet/components/dataflow/DataFlowViewModel",
7073
"src/leaflet/overlay/dataflow/MapvRenderer",

build/jsdocs/maplibregl/docs.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@
6262
"src/common/components/templates/Select",
6363
"src/common/security/KeyServiceParameter",
6464
"src/common/components/templates/TemplateBase",
65+
"src/common/mapping/utils/L7LayerUtil",
66+
"src/common/mapping/utils/Color",
67+
"src/common/mapping/utils/util",
6568
"src/maplibregl/core/Util",
6669
"src/maplibregl/overlay/L7/l7-render"
6770
]

build/jsdocs/openlayers/docs.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@
6262
"src/common/components/templates/PopContainer",
6363
"src/common/components/templates/Select",
6464
"src/common/security/KeyServiceParameter",
65-
"src/common/components/templates/TemplateBase"
65+
"src/common/components/templates/TemplateBase",
66+
"src/common/mapping/utils/L7LayerUtil",
67+
"src/common/mapping/utils/Color",
68+
"src/common/mapping/utils/util"
6669
]
6770
},
6871
"plugins": ["plugins/markdown","../plugins/usage", "../plugins/moduleCategories"],

src/common/mapping/WebMapV3.js

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ export function createWebMapV3Extending(SuperClass, { MapManager, mapRepo, mapRe
173173
}
174174

175175
/**
176-
* @private
177176
* @function WebMap.prototype.initializeMap
178177
* @description 登陆窗口后添加地图图层。
179178
* @param {Object} mapInfo - map 信息。
180179
* @param {Object} map - map 实例。
180+
* @private
181181
*/
182182
initializeMap(mapInfo, map) {
183183
this._mapInfo = mapInfo;
@@ -801,11 +801,10 @@ export function createWebMapV3Extending(SuperClass, { MapManager, mapRepo, mapRe
801801
}
802802

803803
/**
804-
* @private
805804
* 1) 无数据驱动时;
806805
* 2) 只有一个颜色数据驱动,且性线数据驱动时
807806
* 以上两种情况图例中需要单独的显示符号项
808-
* @returns {boolean} 是否显示图例单项
807+
* 是否显示图例单项
809808
*/
810809
_isShowLegendSingleItem(dataKeys, isLinearColor) {
811810
return dataKeys.length === 0 || (dataKeys.length === 1 && dataKeys[0] === 'color' && isLinearColor);
@@ -817,12 +816,8 @@ export function createWebMapV3Extending(SuperClass, { MapManager, mapRepo, mapRe
817816
}
818817

819818
/**
820-
* @private
821819
* 获取icon-image 的sdf状态
822820
* 目前webSymbol为false, 基本符号为true, 雪碧图从json中获取sdf的状态
823-
* @param id
824-
* @param spriteJson
825-
* @returns {boolean} sdf状态
826821
*/
827822
_getSymbolSDFStatus(id, spriteJson) {
828823
if (this._isWebsymbolById(id)) {
@@ -1333,10 +1328,8 @@ export function createWebMapV3Extending(SuperClass, { MapManager, mapRepo, mapRe
13331328
}
13341329

13351330
/**
1336-
* @private
13371331
* 获取线宽
1338-
* @param symbolStyle
1339-
* @returns {number} 多线返回整体线宽,单线返回线宽
1332+
* 多线返回整体线宽,单线返回线宽
13401333
*/
13411334
_getLineWidth(symbolStyle) {
13421335
if (symbolStyle instanceof Array) {
@@ -1346,10 +1339,8 @@ export function createWebMapV3Extending(SuperClass, { MapManager, mapRepo, mapRe
13461339
}
13471340

13481341
/**
1349-
* @private
13501342
* 计算多线符号的整体线宽
1351-
* @param styles
1352-
* @returns {number} 整体线宽
1343+
* 整体线宽
13531344
*/
13541345
_getWholeWidth(styles) {
13551346
let topBoundary;

0 commit comments

Comments
 (0)