ol-ext: style textPath

The ol.geom.greatCircleTrack() computes the great circle line beetween 2 points (shortest road between 2 poins).

Source: Calculate distance, bearing and more between Latitude/Longitude points

Options:

Click on the map to draw lines