Does OnDemand only work with v3.0?Current version is v2.4. Have not upgraded yet.
It seems like even when zooming in the update is taking just as long as when fully zoomed out. With OnDemand mode shouldn't it get faster if the map extent is reducing in size (zooming in)?
<esri:Map x:Name="MyMap" WrapAround="True" PropertyChanged="MyMap_PropertyChanged" Extent="-9900723.24924544,3490730.30922668,-9828850.20838732,3542973.02580042"> <esri:ArcGISTiledMapServiceLayer Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" /> <esri:FeatureLayer ID="MyLayer" Url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hurricanes/NOAA_Tracks_1851_2007/MapServer/0"/> </esri:Map>
private void MyMap_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { if (e.PropertyName == "Resolution") { var f = MyMap.Layers["MyLayer"] as FeatureLayer; f.MaxAllowableOffset = MyMap.Resolution * 2; f.Update(); } }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.