AnsweredAssumed Answered

Clicking/Hovering on marker

Question asked by haikal.syed on Nov 24, 2019
Latest reply on Dec 20, 2019 by LDanzinger-esristaff

Hi,

 

I would like to add clicking and hovering functionalities on a marker.

 

I am currently using a SimpleMarkerSymbol to display a marker. At the moment, I can click on it and it works.

 

However what I would like is to have a left click that would have a different function to a right click, as well as hovering. I don't think I have seen any examples regarding this.

 

How I am doing it at the moment is to use onMouseClicked with identifyGraphicsOverlay function in it and later onIdentifyGraphicsOverlayStatusChanged.

 

Thanks!

Outcomes