I am currently developing a simple web application using version 3.17 of the API.
I have created a webmap in ArcGIS Online and am using the utility function to pull the map into my app. The webmap contains 3 layers and I need the ability to toggle between each layer.
I have tried using the Layer List widget, however, I only want to have one layer visible/active at a given time.
Any advice on the best method to do this would be greatly appreciated!