# formatLatLng

Formats a position as "lat, lng" with five decimals and a dot separator
regardless of locale, for example "-26.20410, 28.04730". This is the
string that is copied and shown.

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

## Signature

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

## Parameters

- `position` (`LatLng`)

## Returns

`string`

## See also

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

Source: [packages/core/src/format/format.ts:24](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/format/format.ts#L24)
