Georeferencing API
    Preparing search index...

    Interface PdfOptions

    Lazy report configuration; importing this type does not load pdf-lib.

    interface PdfOptions {
        attribution?: string;
        definitions?: Definitions;
        landscape?: boolean;
        map?: ReportMap | (() => ReportMap | undefined);
        margin?: number;
        paper?: "A4" | "A3" | "Letter";
    }

    Hierarchy

    Index
    attribution?: string

    Host-provided map attribution override. When omitted with map capture, existing map attribution text is used.

    definitions?: Definitions

    Host projection definitions for report coordinate conversion and unit labels.

    landscape?: boolean

    Swap paper width and height.

    false

    map?: ReportMap | (() => ReportMap | undefined)

    Optional map or accessor resolved when export starts. Omit for raster-only reports.

    margin?: number

    Page margin in PDF points (1/72 inch); at least 15 and must leave 200 points of usable width/height.

    40

    paper?: "A4" | "A3" | "Letter"

    PDF paper size.

    "A4"