Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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(...
Andreia Gusmao's user avatar