Select to view content in your preferred language

Widget with radiobutton to turn on/off layers of Dynamic Map

932
2
07-12-2010 01:40 PM
DavideRodomonti1
Deactivated User
Hi all, how can I realize a widget for SFV like this?
Is there some sample?
It should add all layers of the map and then when I click on the radiobutton it should turn all the others layers off and turn on the one I chosed...
Is it possible???

David
Tags (2)
0 Kudos
2 Replies
ReneRubalcava
Esri Frequent Contributor
For the FlexViewer2? I'm not a SFV user, but you could use a List with an ItemRenderer to display the RadioButton. Have the selected value of the RadioButton bind to the Layer.visible property. That would be a quick and dirty way of doing it.
0 Kudos
DavideRodomonti1
Deactivated User
For the FlexViewer2? I'm not a SFV user, but you could use a List with an ItemRenderer to display the RadioButton. Have the selected value of the RadioButton bind to the Layer.visible property. That would be a quick and dirty way of doing it.


it's for FLEXViewer 1.3
0 Kudos