This post follows the previous multiple connection map. It illustrates how to transform a list of gps coordinate pairs to a format suitable to be plotted by d3.js. This example works with d3.js v4
and v6
path
. Basically, give it 2 set of coordinates and it will return a list of coordinates all along the great circle between them.console.log(path(link))
and you will see the svg path that has been generated.