I was doing a system based on the citizen serice request sample.
Feature layer displays ok
When I try each of the three lines of code, it always add a new point to the current map, instead of updating, or deleting, it always add a new point to the feature layer.
currentFeature.getLayer().applyEdits([currentFeature], null, null); // to add new point
currentFeature.getLayer().applyEdits(null, [currentFeature], null); // to update attributes
currentFeature.getLayer().applyEdits(null, null, [currentFeature]); // to delete feature
What could possibly wrong, any clues? I have been trying... for 2 weeks. Your help is much appreciated.