Select to view content in your preferred language

Layer Toggle in Experience Builder

202
6
a week ago
TD1
by
Frequent Contributor

As I transition my WAB apps to Experience Builder I'm wondering if there is a layer toggle widget? In my WAB app I had a layer toggle button widget swapped between layer chosen, essentially turning the layers currently on to off and the off layers to on.

Any help would be appreciated.

6 Replies
JeffreyThompson2
MVP Frequent Contributor

In ArcGIS Online, your best option would be to Group your layers and turn on Exclusive Visibility.

https://doc.arcgis.com/en/arcgis-online/create-maps/organize-layers-mv.htm#ESRI_CHOICE_08C70951A5B34...

In Developer Edition, you would have many more options, as there are a number of publicly available Widgets for switching layers. 

GIS Developer
City of Arlington, Texas
TD1
by
Frequent Contributor

@jefjefthank you for the options.

Can you point me to the  publicly available Widgets you are referencing?

0 Kudos
SarahRijneke
Frequent Contributor

Hello,

Do you know if it is possible to turn layers on and off in a side panel in Experience Builder? I need to display my legend items at all times (even when they are not visible in the map) and would like the ability to turn each category on and off.  

SarahRijneke_0-1761309982499.png

 

0 Kudos
JeffreyThompson2
MVP Frequent Contributor

If you are on Developer Edition, I am about to release a new kind of Filter Widget that may suit your needs.

JeffreyThompson2_0-1761310551101.png

GIS Developer
City of Arlington, Texas
0 Kudos
SarahRijneke
Frequent Contributor

Thanks for sharing but I'm using the web designer exclusively. This seems to do what I need but it looks like it's only available in developer Layer Toggle Button Widget Version 2.14 - 01/13/20... - Esri Community

0 Kudos