Hi AllI was able to make this work. Here's what I did:1) When creating FeatureLayer -set Mode = OnDemand-set MaxAllowableOffset to initial value based on Map.Resolution2) Listen to Map.ExtentChanged3) On MapExtentChanged
featureLayer.ClearGraphics();
featureLayer.MaxAllowableOffset = maxOffset; // new value calculated from Map.Resolution
featureLayer.Initialize(); // is this necessary?
The above works.A few additional tips:-here is my GetMaxOffset public static double GetMaxOffset(double mapResolution, double pixelTolerance)
{
// alternate algorithm where map is ESRI map control
//maxOffset = Math.Floor(map.Extent.Width / map.ActualWidth) * pixelTolerance;
return mapResolution * pixelTolerance; // means n pixels between vertices?
}-In OnExtetChanged, I don't recalc/reset maxoffset if the map scale hasn't changed. Use ESRI ExtentEventArgs to help you with this.-Also, I found that I didn't want to recacl maxoffset on every single scale change. I "smoothed" the infinite number of resolutions to a fixed number of resolutions (think scale bands in a multi-scale map service). This resulted in less re-querying of data from the server... as with anything, it seems there's a balance between providing many levels of detail to user (nice to look at), and querying data (not nice to wait for).Hope this helps someone.-Cory