# ExportSection

Saves the map as it looks now, with its layers and credits, as a PNG file.
The image is drawn in the browser from what the map has already loaded, so
nothing is requested or sent anywhere. A plain button, so it works from the
keyboard; the result is announced through the shared live region.

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

## Signature

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

## Parameters

- `{ credits, drawing, headingLevel, headingRef, }`
- `input` (`ExportSectionProps`)

## Returns

`JSX.Element`

## Remarks

Every failure is logged and announced assertively.

## See also

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

Source: [packages/map/src/panels/ExportSection/ExportSection.tsx:61](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/panels/ExportSection/ExportSection.tsx#L61)
