rcoodey

IsInScaleRange Not Valid When Layer In Different Projection Than Map

Discussion created by rcoodey on Jul 19, 2011
Latest reply on Nov 15, 2011 by deeptivb
Most our services are in NAD_83 and I am trying to get our data working with the ESRI/Bing Web Mercator base maps...

I have the Legend control check box setup just like the Silverlight demo:
<CheckBox IsChecked="{Binding IsEnabled, Mode=TwoWay}" IsEnabled="{Binding IsInScaleRange}" ToolTipService.ToolTip="Toggle Layer Visibility" />

But "IsInScaleRange" is not correct... is this expected with these different coordinate systems?  Is there an easy way to fix this?  Or do I have to do manual calculations (and how so since these two coordinate systems are in different units)?

Thanks a lot for any advice...

*EDIT* I have another related issue:  Why is Map.Resolution different depending on if the Map is in NAD_83 or Web Mercator?  This is the pixel resolution on the screen, which should be the same, right?  In NAD_83 it is 0.00441 and in Web Mercator it is around 601.7339...

Outcomes