Skip to content

Commit

Permalink
fix: add method for plugins to regenerate visible layers (origo-map#1597
Browse files Browse the repository at this point in the history
)

* fix: add method for plugins to regenerate visible layers

* fix: add choice so that not just activate
  • Loading branch information
Grammostola authored Jan 4, 2023
1 parent b5ab51c commit 2dfb316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controls/legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ const Legend = function Legend(options = {}) {
},
getuseGroupIndication() { return useGroupIndication; },
getOverlaysCollapse() { return overlaysCmp.overlaysCollapse; },
setVisibleLayersViewActive,
addButtonToTools(button) {
const toolsEl = document.getElementById(toolsCmp.getId());
toolsEl.classList.remove('hidden');
Expand Down

0 comments on commit 2dfb316

Please sign in to comment.