Just create a new instance of graphic and add it to the Graphics collection on the featurelayer. If the layer is editable, it will automatically be saved back to the server:var graphic = new Graphic();graphic.Geometry = new MapPoint(12,34) { SpatialReference = new SpatialReference(4326) };graphic.Attributes["Name"] = "Lorem Ipsum";myFeatureLayer.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.