Skip to content

Commit

Permalink
fix: keep layer visibility when period is changed (#2912)
Browse files Browse the repository at this point in the history
  • Loading branch information
turban authored Aug 7, 2023
1 parent b0caf8f commit fe273e9
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 fe273e9

Please sign in to comment.