ghettovoice / vuelayers

Web map Vue components with the power of OpenLayers
https://vuelayers.github.io/
MIT License
682 stars 230 forks source link

Implement right click/context menus #439

Closed giesberge closed 2 years ago

giesberge commented 3 years ago

So i'm trying to implement right-click/custom context menus in this but I can't seem to get it to work. I can get normal click to work and the event to trigger if I use "native" but other than that it doesn't seem to work.

ghettovoice commented 3 years ago

Hello @giesberge , there is a 3rd party custom control for OpenLayers that implements Map context menu. https://github.com/jonataswalker/ol-contextmenu

And there is a demo how to connect with vuelayers https://jsfiddle.net/ghettovoice/qa8p913o/352/

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.