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);
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.