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:
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.