Leaflet Partially Editable Polyline - Syncing application data
The blue line is drawn from the application's own data (the table).
Click it to swap in the orange editor, then drag points, drag a midpoint to insert one,
or right-click (or long-press) a point to delete it.
Click elsewhere on the map to stop editing.
The application updates its data from the editing events, using their index.