AnsweredAssumed Answered

JS API 4.5 new Graphic geometry set to null

Question asked by kdunaway_ves on Nov 9, 2017
Latest reply on Nov 10, 2017 by kdunaway_ves

var tmpGraphic = new Graphic({
  attributes: {
    "objectid": someObjectID
    "someAttribute" : someAtrribute
  }
});

 

featureLayer.applyEdits({
  updateFeatures: [tmpGraphic]
}).then....

 

The applyEdits request shows the geometry for the graphic as null, thus overwriting the geometry on the feature layer.

I assume this is new as it hasn't been happening before...

 

Any ideas?

Outcomes