Controling scene layers with a button

08-13-2021 10:36 AM
Labels (1)
New Contributor III


I'm wondering if there is a simple way how to control multiple layers (on/off).

I'm trying to give the user an option to switch between different legends and colors using a button.

Something like this:



All I need is a button to turn certains layers on and off. But I don't see a way without the API. 🤔

Tags (3)
0 Kudos
2 Replies
Esri Frequent Contributor

Can you load a web scene and have your layers combined into group layers? You can author this web scene with scene viewer and load it into experience builder.

New Contributor III

Thanks for the reply @RussellRoberts1 

I guess I could create multiple pages, or sections withs different maps, for different topics. That would be good enough for a demo.

But the way I see it, the proper way is a custom widget. I'm looking to get some help from a JS DEV.

I was hoping I can recreate the c-through demo:


0 Kudos