Open andreaordonselli opened 2 weeks ago
In case of visible (not collapsed) layerswitcher how can I have a toggle button that hides the layerswitcher and then shows it again?
An example: https://raw.githack.com/walkermatt/ol-layerswitcher/master/examples/activation-mode-click.html
Many thanks
It is not designed to support it. However you can try to do js magic to show and hide it.
In case of visible (not collapsed) layerswitcher how can I have a toggle button that hides the layerswitcher and then shows it again?
An example: https://raw.githack.com/walkermatt/ol-layerswitcher/master/examples/activation-mode-click.html
Many thanks