# boundsAroundPoint

The latitude and longitude box around a circle: `radiusMetres` north,
south, east and west of `centre`. Used to fit a location fix's accuracy
circle on screen.

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

## Signature

```ts
import { boundsAroundPoint } from "@mapcairn/core";
 
function boundsAroundPoint(centre: LatLng, radiusMetres: number): Bounds;
```

## Parameters

- `centre` (`LatLng`)
- `radiusMetres` (`number`)

## Returns

`Bounds`

## Remarks

Spherical, which is well within a pixel at the zooms a fix is
 shown at. A radius that is not a positive number gives the point itself.
 The box is clamped to the Web Mercator world, and the east-west span is
 computed at a latitude no nearer the pole than Web Mercator reaches, so
 it stays finite.

## See also

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

Source: [packages/core/src/spatial/boundsAroundPoint.ts:26](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/spatial/boundsAroundPoint.ts#L26)
