Hello,
I'm trying to replicate the behavior of ArcClient, where layers are automatically hidden or shown based on the current zoom level/map scale. I'm getting the layers via the SOAP web service, and get the MinScale and MaxScale values.
The WPF FeatureLayer objects, though, only contain MinimumResolution/MaximumResolution properties, which aren't directly mappable to MinScale/MaxScale. Some googling led me to try adding the current display DPI into the equation, but even if I do, I can't figure out how to map between Scale and Resolution.
Can anyone help me out here?
Thanks,
Avner