I think I'm going to batch the edits in one block if that implies better performance. So what would be the syntax then? Like this?
var feature = new Graphic({
geometry: {
type: "point",
longitude: 10.784112,
latitude: 48.124298
},
attributes: {FID: 3}
});
var feature1 = new Graphic({
geometry: {
type: "point",
longitude: 11.784112,
latitude: 50.124298
},
attributes: {FID: 3}
});
var feature2.....
lyr.applyEdits({
updateFeatures: [feature, feature1, ...]
});