# centralAngle

The angle at the centre of the Earth between two positions, in radians.

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

## Signature

```ts
import { centralAngle } from "@mapcairn/core";
 
function centralAngle(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/globe/greatCircle.ts:83](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/globe/greatCircle.ts#L83)
