Leaflet and LeafletContextmenu compatibility problem.
Closed this issue · 3 comments
Stephlan commented
Leaflet@1.1.0 is somehow not exactly compatible with leaflet.contextmenu@1.4.0
An error goes like:
Uncaught TypeError: Cannot read property 'off' of undefined <leaflet.contextmenu.js:281>
while leaflet.contextmenu.js handling with right-click callback binding.
Plus to that, leaflet@1.0.3 supports correctly.
aratcliffe commented
This is a bug in Leaflet 1.1.0. See #95
Stephlan commented
Oops, I missed that. Thanks and sorry for troubling!
aratcliffe commented
No worries. It will be fixed in the next Leaflet release.