cmv-app
cmv-app copied to clipboard
Layer control - radio button option?
Just wondering if there is an option for layer control that would only allow the user to see one overlay layer at a time?
@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.
Ah thanks - I had not realized there were separate widgets to look at. Will take a look!
@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 :wink: 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.
Thanks! The layer swapper gets pretty close to what I need - will play around with it a bit and hopefully make something usable!