private void WpfMap_Loaded(object sender, RoutedEventArgs e) { wpfMap1.MapUnit = GeographyUnit.DecimalDegree; wpfMap1.CurrentExtent = new RectangleShape(-133.2515625, 89.2484375, 126.9046875, -88.290625); wpfMap1.Refresh(); } private void button1_Click(object sender, RoutedEventArgs e) { Vertex MyPosition = new Vertex(0, 0); PolygonShape Polygon = new PolygonShape(); Polygon = (wpfMap1.TrackOverlay.TrackShapeLayer.InternalFeatures[0].GetShape() as PolygonShape); List listForInsertingVertex = new List(Polygon.OuterRing.Vertices); listForInsertingVertex.RemoveAt(listForInsertingVertex.Count - 1); listForInsertingVertex.Insert(0, MyPosition); listForInsertingVertex.Add(MyPosition); Polygon.OuterRing.Vertices.Clear(); foreach (Vertex vertex in listForInsertingVertex) { Polygon.OuterRing.Vertices.Add(vertex); } wpfMap1.TrackOverlay.TrackShapeLayer.InternalFeatures[0].WellKnownBinary = Polygon.GetWellKnownBinary(); wpfMap1.TrackOverlay.Refresh(); }