Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panel visibility toggle on click #74

Open
andreaordonselli opened this issue Jun 28, 2024 · 1 comment
Open

panel visibility toggle on click #74

andreaordonselli opened this issue Jun 28, 2024 · 1 comment

Comments

@andreaordonselli
Copy link

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

@jjimenezshaw
Copy link
Owner

It is not designed to support it. However you can try to do js magic to show and hide it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants