<esri:Editor x:Key="MyEditor" Map="{Binding ElementName=MyMap}" LayerIDs="CensusDemographics" SelectionMode="Rectangle" ContinuousMode="True" />
Editor editor = this.LayoutRoot.Resources["MyEditor"] as Editor; editor.Map = this.MyMap;
FeatureLayer l = new FeatureLayer() { ID = "CensusDemographics", Url = "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/0" }; MyMap.Layers.Add(l);
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.