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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy