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

layerswitcher problem #672

Closed
kozka opened this issue Oct 4, 2021 · 1 comment
Closed

layerswitcher problem #672

kozka opened this issue Oct 4, 2021 · 1 comment
Labels

Comments

@kozka
Copy link

kozka commented Oct 4, 2021

When establishing a layerswitcher this open from the beginning, it does not allow to hide it from the mobile. It seems that the classes are changed but the problem is the startup class. I've kept it hidden from the start for now.

map.addControl(new ol.control.LayerSwitcher({
trash: true,
extent: true,
collapsed: false
}));

Viglino added a commit that referenced this issue Oct 5, 2021
@Viglino
Copy link
Owner

Viglino commented Oct 5, 2021

Last commit should fix the bug on mobile

@Viglino Viglino added the bug label Oct 8, 2021
@Viglino Viglino closed this as completed Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants