Enhancement

Enhancement Request: Add parameters in XAML code to set Max Records count and EnableDynamicLayers for ArcGISLocalDynamicMapServiceLayer and ArcGISLocalFeatureLayer

Last Published: August 25, 2014 ArcGIS for Desktop
Enhancement ID Number NIM077742
SubmittedAugust 22, 2014
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.1 Beta
Program languageC#
Operating SystemWindows OS
Operating System Version7 64 Bit
StatusWill Not Be Addressed

Additional Information

LocalServer can be defined in XAML if required - see workaround.

Alternate Workflow

Can be specified in XAML:

<Grid>
<Grid.Resources>
<esri:LocalMapService x:Key="_localMapService" Path="MyMapPackage.mpk" EnableDynamicLayers="True" MaxRecords="500000" />
</Grid.Resources>

<esri:Map x:Name="_map" UseAcceleratedDisplay="False">
<esri:ArcGISTiledMapServiceLayer ID="World Topo Map"
Url="<a href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" target="_blank">http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer</a>"/>
<esri:ArcGISLocalDynamicMapServiceLayer ID="myDynamicLayer"
Service="{StaticResource _localMapService}"/>
</esri:Map>
</Grid>

Or

Use ArcGISLocalDynamicMapServiceLayer Class : EnableDynamicLayers Property in Code behind File to Enable Dynamic Layers.

Steps to Reproduce

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Contact technical support

Contact technical support

Download the Esri Support App

Go to download options