Calculate the Haversine distance between two WGS-84 points in meters.
lng1
lat1
lng2
lat2
Returns the great-circle distance in meters.
Calculate the Haversine distance between two WGS-84 points in meters.
Arguments
lng1: Longitude of point 1 in degrees.lat1: Latitude of point 1 in degrees.lng2: Longitude of point 2 in degrees.lat2: Latitude of point 2 in degrees.Returns the great-circle distance in meters.