graphic point event listner

224
2
05-12-2022 04:31 PM
GuyShaharabani
New Contributor III

Hi!

Is it possible to click on a graphic point on a map and receive an event?

Just to be clear, I'm not talking about this:

 

view.on("click", function(event){})

 

 

I'm talking about clicking a graphic(like a point) that I have added  earlier to the map.

 

thanks!

0 Kudos
2 Replies
ReneRubalcava
Frequent Contributor

Not in 4x, no. The workflow for that is the view click, like you showed with view hitTest.

0 Kudos
YogeshSwami
New Contributor II
0 Kudos