Update a feature's location in an online feature service.
Tap a feature to select it. Tap again to set the updated location for that feature. An alert will be shown confirming success or failure.
To get a Feature from a ServiceFeatureTable and change it's geometry:
- Create a service feature table from a URL.
- Create a feature layer from the service feature table.
- Select a feature from the feature layer,
FeatureLayer.SelectFeatures
. - Load the selected feature.
- Change the selected feature's location using
Feature.Geometry = geometry
. - After the change, update the table on the server using
ServiceFeatureTable.ApplyEditsAsync()
.
- Map
- Feature
- FeatureLayer
- MapView
- ServiceFeatureTable
Service, editing, updating, moving, ServiceFeatureTable, FeatureLayer