Skip to main content

Geo.distance

Geo.distancelat1long1lat2long2units

Documentation

Computes the distance between two latitude/longitude points

Arguments

  • lat1: The latitude of the first point.
  • long1: The longitude of the first point.
  • lat2: The latitude of the second point.
  • long2: The longitude of the second point.
  • units: The unit to return the result in.