aratcliffe/Leaflet.contextmenu

Context Menu and functions

Opened this issue · 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

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