Will the next release of WABD include an option to configure radio buttons over check boxes in the Layer List Widget. At the moment the user is required to turn a layer off and another layer on when they only want to display one layer at a time, its very messy to work with especially when ticked on layers sit above the chosen layer hiding its required vision. It confuses end users. Basically trying to switch between aerial images.
If there is another widget out there that can do this, please advice.
I do not know of any plans to add this ability to the LayerList widget. I have only every seen a handful of people desire this in the many years I have been doing these forums so it is more of a case for someone to do a custom development then to have it as part of the core widget.
Thanks for getting back to me Robert. I thought that would be the case. I did look at the AddLayer Widget to see if it had this type of functionality. It doesn't from what I can see. Maybe this widget has the potential for this type of development. Do you have anymore ideas re this. Our staff are really frustrated with the current workflow using the layer list widget. Especially since our previous flex app could achieve the desired outcome via radio button selection. Thanks for your time
The LayerList widget in the 4.0 API will have this capability, so Esri must be aware of a need for this. How long it will take to make this into the WAB is another question, though.
I wasn't quite right. It's the visibilityMode property of the GroupLayer, which gets reflected in the LayerList. If you look at the plenary video "ArcGIS APIs and SDKs", starting at the 8:05 mark, you'll see it in action.
Ah Ken Buja thank you for your input, and your many samples dealing with layers and TOCs over the years.
Since we're talking TOCs, do you all think having partial-state check boxes for when only some of the layers in a group are on but not all of them would be useful?
(I think this would even be useful for ArcMap Desktop)
Here is a thread where I came out with some code for sublayer checkboxes to act like radio buttons (i.e. only one sublayer enabled/visible at a time).