Skip to content

Commit

Permalink
fix: keep layer visibility when period is changed (#2911)
Browse files Browse the repository at this point in the history
  • Loading branch information
turban authored Aug 8, 2023
1 parent 6c29f16 commit 57664e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/map/layers/Layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class Layer extends PureComponent {
await this.removeLayer();
await this.createLayer(true);
this.setLayerOrder();
this.setLayerVisibility();
}

// Override in subclass if needed
Expand Down

0 comments on commit 57664e4

Please sign in to comment.