@camptocamp/inkmap
    Preparing search index...

    Interface PrintSpec

    interface PrintSpec {
        attributions: boolean | WidgetPosition;
        center: [number, number];
        dpi: number;
        layers: Layer[];
        northArrow?: boolean | WidgetPosition;
        projection: string;
        projectionDefinitions: ProjectionDefinition;
        scale: number;
        scaleBar?: boolean | WidgetPosition | ScaleBarSpec;
        size: SizeWithUnit;
    }
    Index

    Properties

    attributions: boolean | WidgetPosition

    Position where the attributions should be printed; specify true for default position (bottom right).

    center: [number, number]

    Longitude and latitude of the map center.

    dpi: number

    Dot-per-inch, usually 96 for a computer screen and 300 for a detailed print.

    layers: Layer[]

    Array of Layer objects that will be rendered in the map; last layers will be rendered on top of first layers.

    northArrow?: boolean | WidgetPosition

    North arrow position; specify true for default position (top right). No north arrow if left undefined.

    projection: string

    EPSG projection code.

    projectionDefinitions: ProjectionDefinition

    Projection definitions to be newly registered.

    scale: number

    Scale denominator.

    scaleBar?: boolean | WidgetPosition | ScaleBarSpec

    Scale bar position or specs (for more options); specify true for default position (bottom-left). No scale bar if left undefined.

    Width and height in pixels, or in the specified unit in 3rd place; valid units are px, mm, cm, m and in.