AnsweredAssumed Answered

How to make one layer visible at a time on radiobutton click

Question asked by tanya.bisen on Dec 7, 2011
Latest reply on Oct 7, 2013 by eogriffin79
Hello All,

I am new to this javascript API. I have a dynamic map service with 2 layers. I want to make visible one layer at a time on click of corresponding radio button.If one layer is visible the other should automatically be turned off and vice versa.

How do i do this.. Please share with me some sample so that I can proceed ahead with some logic.

Thanks,
Tanya

Outcomes