if (g.Geometry is Polygon) { var polygon = g.Geometry as Polygon; if (polygon.Rings > 0) { var pc = polygon.Rings[0]; pc.Add(new MapPoint(x, y));//to add pc.Remove(mp);//to remove } }
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.