# roundForLookup

Rounds a position to `LOOKUP_DECIMAL_PLACES` decimal places, so a
third-party service is sent roughly 11 m of precision, not the exact point
the user chose. Returns a new object.

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

## Signature

```ts
import { roundForLookup } from "@mapcairn/core";
 
function roundForLookup(position: LatLng): LatLng;
```

## Parameters

- `position` (`LatLng`)

## Returns

`LatLng`

## See also

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

Source: [packages/core/src/spatial/lookupPosition.ts:27](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/spatial/lookupPosition.ts#L27)
