Leaflet Partially Editable Polyline - Large polyline (For Leaflet v2)
Click the polyline to start editing around the nearest point. Drag points to move them, or drag a midpoint to insert a new point. Right-click (or long-press on touch devices) a point to delete it. Click elsewhere on the map to stop editing.

Editing:
Points: -