When I select a point on the map, a popUp opens that shows information about that point, I need to capture that information to use that data, but I don't know how to do that in JavaScript
You can user hitTest method to capture graphic when user clicks on the viewview.hitTest(event, opts).then((result)=>{
const graphic = response.results[0].graphic;
});See this sample: https://developers.arcgis.com/javascript/latest/sample-code/view-hittest/
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.