layer switcher group folding

This commit is contained in:
Matthias Wirth
2021-10-29 21:14:01 +02:00
parent 980233c19c
commit 40f98a99c3
2 changed files with 3 additions and 2 deletions

View File

@@ -1951,6 +1951,7 @@ function initMap() {
OLMap.addControl(new ol.control.LayerSwitcher({
groupSelectStyle: 'none',
activationMode: 'mouseover', // click sucks in the current implementation
target: 'map_canvas',
}));