AnsweredAssumed Answered

How to simulate mouse click

Question asked by Ettapp on Jun 2, 2016
Latest reply on Jun 5, 2016 by Ettapp

(Please excuse my english)


I need to simulate a user mouse click on the map.

I tried with this kind of method but it seem not to work:


I think it's because a script-lauched mouse click is an untrusted event and ArcGIS only listen to the trusted event (launched by an user).


I need it because my map is in an invisible iframe, and i send the click coords to it from the main page.


How could I do this ?

(nativ method ? JS hack ? I looked for it but found nothing...)


Thank you in advance for yours answers,

Robin Chappatte