Skip to content

Commit fe1fe67

Browse files
committed
[feature] 背景色存在的情况 标签支持使用保存的背景色 review by zhaoq
1 parent 772042a commit fe1fe67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1929,7 +1929,7 @@ export class WebMap extends ol.Observable {
19291929
color: parameters.fill
19301930
}),
19311931
backgroundFill: new ol.style.Fill({
1932-
color: [255, 255, 255, 0.7]
1932+
color: parameters.backgroundFill || [255, 255, 255, 0.7]
19331933
}),
19341934
padding: [3, 3, 3, 3],
19351935
offsetY: parameters.offsetY

0 commit comments

Comments
 (0)