Arc.js with Leaflet

Single clicks on the map will plot points. Once you have drawn two points a great circle arc (curved path) should automatically be drawn between the first point and the second. Nearby clicks will be snapped to existing start/end points. Click on the lines to get details. All drawn lines are collected as GeoJSON below the map.

source code on github