I just upgraded our code base from using 2.2 to 2.4 of the ArcGIS WPF API. I really like that the map now has a Scale property and that Feature Layers obey the scales set in the service. So thanks for that!
My question/issue now is the legend does not show the check box grayed out for service layers (feature layers) in the legend. I have the legend setup pretty much like the Silverlight example but in a control template (I actually made my own check box that only grays out and doesn't disable, but same concept/issue):
Now that Feature Layers obey their scale, I would like to disable their checkbox too, but IsInScaleRange doesn't exist... Any ideas on how to do this? Only thing I can think of is to derive a new layer from FeatureLayer and make a property that returns if in scale range.
It seems it's a bug. LayerItemViewModel.IsInScaleRange and LayerItemViewModel.IsVisible are not taking care of the scales set in the service when 'IgnoreServiceScaleRange' is false.
It seems it's a bug. LayerItemViewModel.IsInScaleRange and LayerItemViewModel.IsVisible are not taking care of the scales set in the service when 'IgnoreServiceScaleRange' is false.