# distanceMetres

The great-circle distance between two positions, in metres (haversine).

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { distanceMetres } from "@mapcairn/core";
 
function distanceMetres(from: LatLng, to: LatLng): number;
```

## Parameters

- `from` (`LatLng`)
- `to` (`LatLng`)

## Returns

`number`

## See also

- [`LatLng`](https://docs.mapcairn.com/api/core/LatLng.md)

Source: [packages/core/src/draw/geo.ts:12](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/draw/geo.ts#L12)
