Select to view content in your preferred language

Legend default checked on

596
2
Jump to solution
08-28-2012 07:52 AM
TanyaOwens
Frequent Contributor
Hi,

I am using the sample http://broux.dominique.free.fr/Silverlight/InteractiveSDK/Default.htm#LegendReorganize to create a legend in the showcase template using API 2.4 and Silverlight 4.0. I have a few Dynamic Service layers and a couple Feature layers in my legend. By default all these items are automatically checked and turned on in my legend and in my map. I would like to have one of the feature layers be by default turned off but the other one kept on. Is there a way to do this?


Thanks!
0 Kudos
1 Solution

Accepted Solutions
deleted-user-ATjHIWsdQYmT
Deactivated User
Set the visibility of the feature layer to false in your XAML.  I think that should uncheck it in the legend.

View solution in original post

0 Kudos
2 Replies
deleted-user-ATjHIWsdQYmT
Deactivated User
Set the visibility of the feature layer to false in your XAML.  I think that should uncheck it in the legend.
0 Kudos
TanyaOwens
Frequent Contributor
That worked perfectly - Thank you!!
0 Kudos