Skip to main content

ExportSectionProps

Props for ExportSection.

This is an interface exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import type { ExportSectionProps } from "@mapcairn/map";

interface ExportSectionProps

Properties​

credits​

readonly credits?: string;

The credits drawn along the bottom of the saved image, such as the basemap's and those of the layers that are on (see creditsLine).

drawing​

readonly drawing?: MapImageDrawing;

Shapes drawn over the map, put into the image because the engine does not hold them.

headingLevel​

readonly headingLevel?: HeadingLevel;

The heading level. Defaults to 3, below the sheet's h2 title.

headingRef​

readonly headingRef?: Ref<HTMLHeadingElement>;

Receives the heading element, so the sheet can move focus to the section it opens on.

See also​

Source: packages/map/src/panels/ExportSection/ExportSection.tsx:18