FREAC / COM

Find the latest version of the web app here:

Home Page:https://hermes.freac.fsu.edu/com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Right click on marker

PhilipGriffith opened this issue · comments

Right clicking on a marker triggers the context menu.

Not sure if this workaround would apply to us since we are creating so many of markers on map load.

contextmenu event on a (circlemarker on a canvas) doesn't prevent browser default menu to appear #5995

Yeah, let's go ahead and implement that. Do you even need the console log? Can't it just pass silently?

Yeah I will test the implementation of that today. I’m sure the console log is not necessary though.

I went ahead and implemented this. For future reference, all you need is:
contextmenu: function(e) {}