distance
number distance(latitude1, longitude1, latitude2, longitude2)
Returns the approximate distance in meters between two locations.
Parameters
- latitude1 — latitude of first location.
- longitude1 — longitude of first location.
- latitude2 — latitude of second location.
- longitude2 — longitude of second location.
Returns
- an approximate distance in meters.