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:
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.