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

Layer control - radio button option? #681

Open
tchaddad opened this issue Mar 1, 2017 · 4 comments
Open

Layer control - radio button option? #681

tchaddad opened this issue Mar 1, 2017 · 4 comments

Comments

@tchaddad
Copy link

tchaddad commented Mar 1, 2017

Just wondering if there is an option for layer control that would only allow the user to see one overlay layer at a time?

@tmcgee
Copy link
Member

tmcgee commented Mar 1, 2017

@tchaddad There isn't an option currently for the layerControl widget (it on my wish list too) but I do have a simple LayerToggle widget that does what you ask. My widget does not use radio buttons which would be the more appropriate UI for this type of thing.

@tchaddad
Copy link
Author

tchaddad commented Mar 1, 2017

Ah thanks - I had not realized there were separate widgets to look at. Will take a look!

@tmcgee
Copy link
Member

tmcgee commented Mar 1, 2017

@tchaddad

Here is the list of contributed widgets for CMV that folks have let us know about. I am sure there are others out there in the github universe that are not captured there.

And if there is a WebApp Builder widget with unique functionality that you cannot live without 😉 and not covered by the CMV widgets, you can follow the process I have demonstrated here to use WAB widgets. Not all WAB widgets are supported but many of them are.

@tchaddad
Copy link
Author

tchaddad commented Mar 1, 2017

Thanks! The layer swapper gets pretty close to what I need - will play around with it a bit and hopefully make something usable!

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

No branches or pull requests

3 participants