midpoint
Calculate the geographic midpoint between two coordinates using the Haversine formula.
lat1(required): latitude of first pointlon1(required): longitude of first pointlat2(required): latitude of second pointlon2(required): longitude of second point
utlx
{
center: midpoint(37.7749, -122.4194, 34.0522, -118.2437)
// {lat: 35.9135, lon: -120.3315}
}