Hi,I have added a FeatureLayer (Mode = OnDemand) with the initial MinimumResolution MaximumResolution that should not be displayed on the initial map. However checking with Fiddler shows that all the data from the layer is loaded into the FeatureLayer disregarding the current resolution.(I working on version 2.0.0.314, silverlight 4.0).The only solution I found is this "Homemade" hack:In the XAML set the Extent of the map to something impossible.Register to the Progress map event and when it reaches 100 change the map extent back.An example with changes to FeatureLayerSimple in the ArcGISSilverlightSDK.The relevant XAML: [HTML]<esri:Map x:Name="MyMap" Extent= "-130, 10, -70, 60" Loaded="MyMap_Loaded" Progress="MyMap_Progress"> <esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" Url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/> <esri:FeatureLayer ID="MyFeatureLayer" Mode="OnDemand" DisableClientCaching="True" Url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0" Where="POP1990 > 100000" Color="#9900FFFF" MaximumResolution="0.013796909492273728" MinimumResolution="0.0034492273730684468"/> </esri:Map>[/HTML]The C# code: private Envelope _original;
private void MyMap_Loaded(object sender,
System.Windows.RoutedEventArgs e)
{
_original = MyMap.Extent.Clone();
MyMap.Extent.XMax = 0;
MyMap.Extent.YMax = 0;
MyMap.Extent.XMin = 0;
MyMap.Extent.YMin = 0;
}
private void MyMap_Progress(object sender, ProgressEventArgs e)
{
if (e.Progress == 100)
{
MyMap.ZoomTo(_original);
MyMap.Progress -= MyMap_Progress;
}
}Is there another way?Thanks,Roy DallalGIS Developer - Better Place