Solved! Go to Solution.
I want to save the attributes of the feature I just clicked moments before. How do I know what feature I just clicked?
dojo.connect(featureLayer, "onClick", function(evt) { console.log(evt.graphic.attributes); });
I want to save the attributes of the feature I just clicked moments before. How do I know what feature I just clicked?
dojo.connect(featureLayer, "onClick", function(evt) { console.log(evt.graphic.attributes); });
There are probably a bunch of ways you could approach this - here is one suggested method: