Leaflet draggable polyline

The green polyline can be edited by dragging its vertices. Destroy a vertex with the rightclick

The red polyline can't drag the first and the last vertices

Option

  edit_drag: true/false - enable disable the plugin over the polyline

  vertices: {
      first: true/false
      last: true/false
      middle: true/false
      insert: true/false
      destroy: true/false
  }