Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REQUEST: add support for ImageOverlay #140

Open
AndreasAtakan opened this issue Mar 21, 2022 · 1 comment
Open

REQUEST: add support for ImageOverlay #140

AndreasAtakan opened this issue Mar 21, 2022 · 1 comment

Comments

@AndreasAtakan
Copy link

Hi all!

I would very much like to be able to call bindContextMenu on a L.ImageOverlay object.
Alternatively, any tips on how I might implement this myself?

Thanks!

@AndreasAtakan
Copy link
Author

UPDATE

I simply added L.ImageOverlay to the array here (in my local file):
https://github.com/aratcliffe/Leaflet.contextmenu/blob/master/src/Mixin.ContextMenu.js#L82

Seems to work just fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant