Solved! Go to Solution.
<Window.Resources> <esri:SimpleRenderer x:Key="renderer"> <esri:SimpleRenderer.Symbol> <esri:SimpleFillSymbol BorderBrush="Black" Fill="Red" BorderThickness="1"/> </esri:SimpleRenderer.Symbol> </esri:SimpleRenderer> </Window.Resources> <Grid> <esri:Map x:Name="_map"> <esri:ArcGISTiledMapServiceLayer ID="Basemap" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> <esri:GraphicsLayer ID="Graphics" Renderer="{StaticResource renderer}"/> </esri:Map> </Grid> public MainWindow() { InitializeComponent(); var layer = _map.Layers["Graphics"] as GraphicsLayer; var polygon = new Polygon(); var pointCollection = new PointCollection(); pointCollection.Add(new MapPoint(-13446927, 6296089, new SpatialReference("102100"))); pointCollection.Add(new MapPoint(-12564245, 6508379, new SpatialReference("102100"))); pointCollection.Add(new MapPoint(-11882681, 6586592, new SpatialReference("102100"))); pointCollection.Add(new MapPoint(-10810055, 5636871, new SpatialReference("102100"))); pointCollection.Add(new MapPoint(-11178770, 4508379, new SpatialReference("102100"))); pointCollection.Add(new MapPoint(-12173184, 4351955, new SpatialReference("102100"))); pointCollection.Add(new MapPoint(-12877094, 4620111, new SpatialReference("102100"))); // Closing point = same as first one. pointCollection.Add(new MapPoint(-13446927, 6296089, new SpatialReference("102100"))); polygon.Rings.Add(pointCollection); polygon.SpatialReference = new SpatialReference("102100"); var graphic = new Graphic() { Geometry = polygon }; layer.Graphics.Add(graphic); } }