I have added multiple layers and portal items to my map, my question is if I can separate my layers into two or more layerlists widgets without duplicating the layers in the widget?
Solved! Go to Solution.
Robert Scheitlin, GISP provided a solution in this thread: https://community.esri.com/thread/239738-multiple-layerlists-in-web-app
Hi Johan.
What would you like to achieve? You can group the layerlist with GroupLayer | ArcGIS API for JavaScript 4.12. That is an option to group the layers in one LayerWidget.
Hi Sascha,
Thanks for your answer, I would like to have two different layerlist widget in the same map view with different layers each one
Robert Scheitlin, GISP provided a solution in this thread: https://community.esri.com/thread/239738-multiple-layerlists-in-web-app