repost: how to show context menu in Leaflet I added the code. but that is not working. When I am right clicking its not showing anything. I think this is simple but I am unable to do so. I have created a div with li. Now I want to fire it when right click on the map.