- Small footprint
- Decent code
- Active development
- Touch support
- Drawing a new line
- Editing mid-points of an existing line
- Continuing an existing line
- Removing points
- Removing multiple points from an existing line
Pros
- Official
- Active development (last commit 13 days ago)
- Decent code, tests
- Touch support
Cons
- Can not continue line
- Can not remove multiple poit
- Can only remove points one-by-one
- Source: https://github.com/tkrajina/leaflet-editable-polyline
- Demo: http://tkrajina.github.io/leaflet-editable-polyline/example1.html
Pros
- Claims to be able to handle lines with large amount of points
- Small footprint (600 loc)
Cons
- Last commit more than 1 year ago
- No tests
- No touch support
- Can only add one point at a time to an existing line
- Source: https://github.com/scripter-co/leaflet-plotter
- Demo: http://scripter-co.github.io/leaflet-plotter/
Pros
- Small footprint (160 loc)
Cons
- No tests
- Last commit more than a year ago
- No touch
- Source: https://github.com/yohanboniface/Leaflet.Editable
- Demo: http://yohanboniface.github.io/Leaflet.Editable/example/index.html
Pros
- No UI controls
- Last commit 4 days ago
- Documentation (!!)
- Tests
- Touch support
Cons
- Source is a single file (1.2 kloc)
- Continue line did not work