通过sde创建的图层无法编辑,the requested operation is invalid on a closed state

the requested operation is invalid on a closed state;
调用arcgis js 创建Add对象的方法可以,但需要获取保存成功要素的objectid,所以使用
applyEdits的方式,但在for循环中这种方法并没有保存,而且导致在arcmap中也无法编辑.
 function addFeature(layer,graphics) {
layer.applyEdits(graphics, null, null,function (result) {
console.log(result);
});
}
}

applyedits.png

 
已邀请:

要回复问题请先登录注册