AnsweredAssumed Answered

context menu

Question asked by lkoumis on Jul 20, 2015
Latest reply on Jul 24, 2015 by lkoumis

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?