Hello,
I am trying to build a web application that allows users to select one of two layers but not have both open at the same time. Is there a way to do that?
Here is the application: https://arcg.is/1SPHvD0
Thank you,
Lucas Rosen
I don't know what is your level of JS experience but here is a post for the same issue. You can use the same script to select a layer to be visible or not.
https://community.esri.com/t5/web-appbuilder-custom-widgets/make-layer-visible-after-layerlist-widget-has-opened/td-p/846584
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.