<esri:Map x:Name="MyMap" WrapAround="True"> <esri:ArcGISDynamicMapServiceLayer Url="http://myserver/arcgis/rest/services/objects/MapServer" /> </esri:Map> <esri:Legend Map="{Binding ElementName=MyMap}" LayerItemsMode="Tree" ShowOnlyVisibleLayers="False" > <esri:Legend.MapLayerTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <CheckBox Content="{Binding Label}" IsChecked="{Binding IsEnabled, Mode=TwoWay}" IsEnabled="{Binding IsInScaleRange}" > </CheckBox> </StackPanel> </DataTemplate> </esri:Legend.MapLayerTemplate> <esri:Legend.LayerTemplate> <DataTemplate> <CheckBox Content="{Binding Label}" IsChecked="{Binding IsEnabled, Mode=TwoWay}" IsEnabled="{Binding IsInScaleRange}" > </CheckBox> </DataTemplate> </esri:Legend.LayerTemplate> </esri:Legend>It's ok. IsEnabled="{Binding IsInScaleRange}" works.
<esri:ArcGISTiledMapServiceLayer ShowLegend="False" Url="http://myserver/arcgis/rest/services/base/MapServer" /> <esri:ArcGISTiledMapServiceLayer ShowLegend="False" Url="http://myserver/arcgis/rest/services/ortho/ImageServer" />I don't want to use ArcGISImageServiceLayer for the ImageServer, because ArcGISImageServiceLayer displayed very slowly. Why is it not working?
This issue sounds similar to something that we've been dealing with. The map scales are different by a very small decimal number, and so we have layers that disappear when they are at the maximum zoom (not beyond). Could be causing IsInScaleRange to go wrong, too.
3.2 And ArcGISTiledMapServiceLayer&nbsp; MinimumResolution Property
Hi, Yes!!!
If I use ArcGISTiledMapServiceLayer in Map, IsInScaleRange not work on layers in another ArcGISDynamicMapServiceLayer. If I not use ArcGISTiledMapServiceLayer all good.