ArcGIS Runtime SDK for macOS

Add Features


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

How it works

The sample uses the mapView:didTapAtPoint:mapPoint: method on AGSMapViewTouchDelegate to get the tapped point. Creates a new feature using createFeatureWithAttributes:geometry: method on AGSServiceFeatureTable. Adds the new feature to the feature table using addFeature:completion: method and applies the edit to the service using the applyEditsWithCompletion: method.

In this topic
  1. Description