Leaflet.contextmenu icon indicating copy to clipboard operation
Leaflet.contextmenu copied to clipboard

Context Menu and functions

Open sylvain258 opened this issue 2 years ago • 1 comments

Hey.

I try to put your module in my app but I have some difficulties. I succeed to put context menu with 3 tabs. My main problem is with callback option. For each tabs, I have an event and a function with one or several parameters and it seems this module doesn't work with functions that have parameters. What is the process in this case ?

Thank you for your help,

Sylvain

sylvain258 avatar Apr 20 '22 19:04 sylvain258

Maybe try to use other functions to request that data with the little info you get with the Event that is given. example: getParam(ofLatLng) returns your param

jesseKeeper avatar Jun 07 '22 10:06 jesseKeeper