Select to view content in your preferred language

graphic point event listner

299
2
05-12-2022 04:31 PM
GuyShaharabani
Emerging Contributor

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
Honored Contributor

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

0 Kudos
YogeshSwami
Emerging Contributor
0 Kudos