is it possible to execute an Identify Task when right mouse button is clicked instead of left mouse button (map onclick event)?
Solved! Go to Solution.
John,
Yes it should be possible.
This is not an exact example how but shows that it is possible.
Display context menu | ArcGIS API for JavaScript
One thing to think about though, if the user is using a mobile device they would have to use a two finger click?
John,
Yes it should be possible.
This is not an exact example how but shows that it is possible.
Display context menu | ArcGIS API for JavaScript
One thing to think about though, if the user is using a mobile device they would have to use a two finger click?
Thank you Rickey,
I figured out that I could use mouse-up event and test which button was pressed, then I execute Identify Task (after I disabled right-click context menu).