Skip To Content ArcGIS for Developers Sign In Dashboard

Add features (feature service)


This sample demonstrates how to add features to the feature layer using a feature service.

How it works

The sample uses the geoView:didTapAtScreenPoint:screenPoint:mapPoint: method on AGSGeoViewTouchDelegate to get the tapped point. A new feature is created using the createFeatureWithAttributes:geometry: method on AGSServiceFeatureTable. The new feature is added to the feature table using addFeature:completion: method and the edit it applied to the service using the applyEditsWithCompletion: method.

In this topic
  1. Description