I can't get the simple Legend sample working with this florida mapservice and the ESRI Silverlight SDK 2.1.
The names appear, but the tree doesn't get populated.
Anyone see why this code shouldn't work?
Here's my modified xaml:
<esri:Map x:Name="MyMap" Extent="-15000000,2000000,-7000000,8000000">
<esri:ArcGISTiledMapServiceLayer ID="Street Map"
Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
<esri:ArcGISDynamicMapServiceLayer ID="Florida" Opacity="0.6" Initialized="ArcGISDynamicMapServiceLayer_Initialized"
InitializationFailed="ArcGISDynamicMapServiceLayer_InitializationFailed"
Url="http://map.floridadisaster.org/GIS/rest/services/Facilities/Critical_Facilities/MapServer"/>
</esri:Map>
<Border Background="#77919191" BorderThickness="1" CornerRadius="5"
HorizontalAlignment="Right" VerticalAlignment="Top"
Margin="20" Padding="5" BorderBrush="Black" >
<esri:Legend Map="{Binding ElementName=MyMap}"
LayerIDs="Florida"
LayerItemsMode="Tree"
LayoutUpdated="Legend_LayoutUpdated"
BindingValidationError="Legend_BindingValidationError" />
</Border>
Running the sample with fiddler, I see a request sent to here: http://www.arcgis.com/sharing/tools/legend?soapUrl=http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer&f=json&returnbytes=true&_ts=634254399369803267
However, no similar request is made when running my modified version.