Skip to content
Advertisement

Tag: openlayers

Openlayers delete element option by mouse rightclick

I would like to enable the delete option after right-clicking on my object. So far, the code I provided doesn’t work, because the browser is checking some devices for me, as you can see below: My code looks like this: I would like to have an option to delete the selected object after the right-click. How can I do it?

Advertisement