Create and delete is the same button on Leaftet when I go edit a polyline

5 views
Skip to first unread message

rhuan.c...@gpsconecta.com.br

unread,
Sep 20, 2016, 12:47:12 PM9/20/16
to Leaflet
Hi guys,
I'm using the Leaflet version 0.7.7 and he's working pretty well.
But the button to create a new point of polyline is the same to delete (the left-click of the mouse).
How can I delete point of the polyline with the right click of the mouse ? I try modify some parts of the code leaflet.js (like use 'contextmenu') but I got nothing.
If anyone can help me I will be much grateful.

Rhuan Carvalho.

Reply all
Reply to author
Forward
0 new messages