Skip to content

Commit bdafbba

Browse files
committed
【feature】1) webmap专题图图层属性增加图层类型字段
(reviewed by chengl)
1 parent dcc42c7 commit bdafbba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,8 @@ export class WebMap extends ol.Observable {
16031603
if (layer) {
16041604
layerInfo.name && layer.setProperties({
16051605
name: layerInfo.name,
1606-
layerID: layerID
1606+
layerID: layerID,
1607+
layerType: layerInfo.layerType
16071608
});
16081609

16091610
//刷新下图层,否则feature样式出不来

0 commit comments

Comments
 (0)