layer_toggler_button is a simple custom ArcGIS Experience Builder widget that lets you control the visibility of (some) multiple map layers with a single click.
In the widget settings, you can configure layers and assign each one to either Group A (turn ON) or Group B (turn OFF).
When the user clicks the button, all configured layer visibility changes are applied at once. It’s useful for creating simple map-mode buttons, switching between related datasets, or quickly showing one group of layers while hiding another.
Version ExB Dev Edition 1.20
source code included
