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:
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.