All Questions
1 question
1
vote
1
answer
248
views
Remove layers from a group and update LayerSwitcher with OpenLayers?
I have a layer group in OpenLayers that initializes empty. This group is added in a layer switcher
var group_search = new ol.layer.Group({
title: 'Search',
fold: 'open',
layers: []
});
map.addLayer(...