Feb 23, 2017 · 1 min read
Nice article. Note that the google maps API provides a spherical namespace that contains a computeDistanceBetween function. This function is available in the google_maps package. You only have to load the optional geometry library by adding ?libraries=geometry to the google maps api url.