# MapReadout

The bottom-start readout: the scale bar with the cursor coordinates and
zoom level under it. One floating element, for the layout collision test,
and a landmark named "Map scale" so its content is inside a landmark.
Reads the zoom with `useMap()` and the layout with `useChromeLayout()`, so
it must sit inside the map context and a `MapChrome`.

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

## Signature

```ts
import { MapReadout } from "@mapcairn/map";
 
function MapReadout(input: MapReadoutProps): JSX.Element;
```

## Parameters

- `{ units, latlng, showZoom, onCursorLeave, }`
- `input` (`MapReadoutProps`)

## Returns

`JSX.Element`

## See also

- [`MapReadoutProps`](https://docs.mapcairn.com/api/map/MapReadoutProps.md)

Source: [packages/map/src/chrome/MapReadout/MapReadout.tsx:264](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/chrome/MapReadout/MapReadout.tsx#L264)
