This is just a simple widget to toggle a configured layer(s) on and off using a button. The layer(s) can be a whole map service layer or a specific sublayer(s) in a map service. This widget will sync with the LayerList widget. You can add multiple instances of this widget to onscreen place holders or in a widget controller like the Header controller in the Foldable theme.
- Widget now indicates the toggle state of the layer using the background color of the button.
- You can follow the directions in the downloads readMe.txt to set the initial state of the button to be toggled on.
- Now the widget support toggling multiple layers.