Select to view content in your preferred language

Legend Widget

979
3
Jump to solution
06-18-2014 07:51 AM
jaykapalczynski
Honored Contributor
Looking to get this working where one of the Features in the Legend is UNchecked by default...
Or do they all have to be checked...
Figured I might be able to do an If Then statement by the 'Title' but not sure how....

http://forums.arcgis.com/threads/113123-Buffer-Parameters?p=397163&posted=1#post397163

Thoughts?
0 Kudos
1 Solution

Accepted Solutions
TimWitt
Deactivated User
Lets say you have a layer named street, you can use this to uncheck it:

street.setVisibility(false);


I hope that is what you were asking for.

View solution in original post

0 Kudos
3 Replies
JeffPace
MVP Alum
not sure what you are asking here
0 Kudos
TimWitt
Deactivated User
Lets say you have a layer named street, you can use this to uncheck it:

street.setVisibility(false);


I hope that is what you were asking for.
0 Kudos
jaykapalczynski
Honored Contributor
Thank you Tim...not sure if I had to approach that from within the code where the Check Boxes were being created.
That worked out fine.
0 Kudos