I need to create a right click context menu for one of my graphics. I am using the example found at:
Display context menu | ArcGIS API for JavaScript
as an example.
In the code I am already using the GraphicsLayer.on("mouse-over", function(evt)) to set the infowindow for other graphics (not for the one that I need to set the context menu).
Can the GraphicsLayer listen to multiple triggers? Or do they need to be combined under a single instance of GL.on?
Thanks.