0

Can you please tell me how do I create and use context menu in angular-leaflet-directive.

I couldnt find it on the documentation

Please give an example for the same.

Thanks.

Fracedo
  • 626
  • 7
  • 23

1 Answers1

0

Had the same problem. Here, check this out: https://github.com/aratcliffe/Leaflet.contextmenu/commit/25c3c5fc7fcacbd9d716f859b9ce80cca2148325

I just had to move my contextmenu options into the map-subobject of the default object.

riot
  • 46
  • 7