I am trying to get the data of a point

347
1
07-06-2022 12:16 PM
stiven
by
New Contributor III

when I select a point I need to obtain the data of each point, I am printing in the console to see where I can obtain them, I found this object with the data but they arrive empty

stivenstiven_0-1657134858134.png

I don't know what object I should use to get this information or how I can do it

 

 

0 Kudos
1 Reply
Noah-Sager
Esri Regular Contributor

I think you want to use a hitTest for this. Here is an example: https://developers.arcgis.com/javascript/latest/sample-code/view-hittest/

0 Kudos