Hello, i need to get a button/check box to behave like a radio button: Turn one layer on - results in (all) other layers going off. JavaScript API. I found this:
https://community.esri.com/thread/120571?q=layer%20control%20turn%20one%20layer%20on
but could not get the code to work. Is this functionality at all possible? Any advice received with thanks.
Simon,
So are you using Liu's TOC widget as that thread discusses? What does your code look like so far?
Something like what you're talking about, but not using the TOC dijit that Rob mentioned.
Here's another version that doesn't use the TOC dijit