Skip to content

Commit

Permalink
fix(LabelLayer): init LabelLayer visibility with attached ColorLayer.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux committed Apr 26, 2021
1 parent 521ca74 commit 67f25a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Core/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ function _preprocessLayer(view, layer, parentLayer) {
style: layer.style,
zoom: layer.zoom,
crs: source.crs,
visible: layer.visible,
});

layer.addEventListener('visible-property-changed', () => {
Expand Down

0 comments on commit 67f25a1

Please sign in to comment.