由于我要修改的要素是一张表(非空间数据),查询出来的几何信息是null,以下是我的代码,报错几何信息不匹配,如果是同样的参数传递,新增要素是可以的,但是修改要素报错
var update_features={"type":"Feature",
"properties":{ "价格元kg":"1","超市ID":"151","品类":"瓜"},
"geometry":{"type":"Point","coordinates":[0,0]},
"id":"2030"
}
var EditFeaturesParameters= new SuperMap.EditFeaturesParameters({
features:update_features,
dataSourceName: "ChengduFresh",
dataSetName: dataSetName,
editType: "update",
returnContent: true
})