I'm using portalItem
to display a web map in a web page and the Layer List widget to control the layer display. I want to show one layer at a time using radio buttons, instead of having to click on the eyes to turn off one layer and turn on another.
Does ArcGIS API for JavaScript have the option? I'm using version 4.8.