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

is possible to use OpenLayers LayerSwitcher plugin or something similar? #126

Closed
nicolas-perez-oportus96 opened this issue Jan 25, 2023 · 1 comment

Comments

@nicolas-perez-oportus96

I need to display a layer controller for both base layers and overlay layers. (allowing to select only one base layer, and as many overlay layers as the user requires) I haven't found a way to do it. Googling I found a plugin for openlayers that does exactly what I need but I don't know how to use it with rlayers.

@mmomtchev
Copy link
Owner

There is an example for extending rlayers (the last one) - this is the only way you could use a 3d party plugin. Each rlayers component has an ol property which is the underlying Openlayers component.

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