AnsweredAssumed Answered

add attribute to Graphic attributes

Question asked by D.Orlando on Nov 18, 2015
Latest reply on May 16, 2017 by alex.oliinyk1

Graphic | API Reference | ArcGIS API for JavaScript

 

var feature = new Graphic(results[i], symbol, inPoints[i].attributes);
feature.attr("new_att", "new_value");

 

I would like to add an attribute to the existing attributes.

 

Is this not the intended syntax or use of the method?

Outcomes