Hello.I would like to create Ellipse from Graphic Overlay. I found a topic (https://developers.arcgis.com/net/latest/wpf/guide/add-graphics-and-text-to-graphics-overlays.htm) but you only talk about points and not circles or ellipses.
thanks
I find.
Make polygon :
var ellipseLoc = new MapPoint(x,y); <BR />SimpleLineSymbol simpleLineSymbol = new SimpleLineSymbol(SimpleLineSymbolStyle.Solid, System.Drawing.Color.FromArgb(byteOutcolor[0], byteOutcolor[1], byteOutcolor[2]), ellipse.Size ); <BR />SimpleFillSymbol simpleFillSymbol = new SimpleFillSymbol(SimpleFillSymbolStyle.Solid, System.Drawing.Color.FromArgb(byteColor[0], byteColor[1], byteColor[2]), simpleLineSymbol); Polygon pol = DrawCircle(ellipseLoc, rCircle, 35);<BR />var graphic = new Graphic(pol, simpleFillSymbol); <BR />GraphicOverLayer.Graphics.Add(graphic);
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.