Skip to content

Commit 440b74a

Browse files
committed
增加UT
1 parent a42fe7f commit 440b74a

File tree

4 files changed

+541
-4
lines changed

4 files changed

+541
-4
lines changed

src/openlayers/overlay/vectortile/MapboxStyles.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ export class MapboxStyles extends ol.Observable {
102102
}
103103
}
104104
/**
105-
* @function ol.supermap.MapboxStyles.getStyleFunction
105+
* @function ol.supermap.MapboxStyles.prototype.getStyleFunction
106106
* @description 获取 ol.FeatureStyleFunction。
107107
* @returns {ol.FeatureStyleFunction} 返回 ol.FeatureStyleFunction。
108108
*/
109109
getStyleFunction() {
110110
return this.featureStyleFuntion;
111111
}
112112
/**
113-
* @function ol.supermap.MapboxStyles.getStylesBySourceLayer
113+
* @function ol.supermap.MapboxStyles.prototype.getStylesBySourceLayer
114114
* @param {string} sourceLayer - 数据图层名称。
115115
*/
116116
getStylesBySourceLayer(sourceLayer) {

0 commit comments

Comments
 (0)