ESRI.ArcGIS.Client.Geometry.PointCollection points = myPolygon.Rings[0];
ESRI.ArcGIS.Client.Geometry.Polygon polygon = (ESRI.ArcGIS.Client.Geometry.Polygon)graphic.Geometry; int ringCount = polygon.Rings.Count; for (int i = 0; i < ringCount; i++) { ESRI.ArcGIS.Client.Geometry.PointCollection pc = polygon.Rings; foreach (ESRI.ArcGIS.Client.Geometry.MapPoint mp in pc) { MapPoint coordinates = new MapPoint(mp.X, mp.Y); } }
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.