cmv-app icon indicating copy to clipboard operation
cmv-app copied to clipboard

Layer control - radio button option?

Open tchaddad opened this issue 7 years ago • 4 comments

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 avatar Mar 01 '17 17:03 tchaddad

@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.

tmcgee avatar Mar 01 '17 17:03 tmcgee

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

tchaddad avatar Mar 01 '17 18:03 tchaddad

@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.

tmcgee avatar Mar 01 '17 18:03 tmcgee

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

tchaddad avatar Mar 01 '17 22:03 tchaddad