I created a polygonon a graphic layer using DrawObject.
I want to add it to some featureLayer.
is it possible ?
eg
featurelayer f= MyMap.FeatureLayer["myfeaturelayer'] as FeatureLayer;
Graphic g=new Graphic();
g.symbol=MySimpleFillSymbol;
g.geometry= args.geometry;
f.Graphics.Add(g)
f.SaveEdits();
I tried this and it does not allow to do this.
//is there any other way to do this.