Interface TWatermarkOptions

Options for the watermark.

interface TWatermarkOptions {
    color?: "light" | "dark";
    iconOnly?: boolean;
    padding?: number | {
        bottom?: number;
        left?: number;
        right?: number;
        top?: number;
    };
    position?: WatermarkPosition;
    scale?: number;
}

Properties

color?: "light" | "dark"

Color of the watermark.

'dark'
iconOnly?: boolean

Show only the Mappedin icon without text.

false
padding?: number | {
    bottom?: number;
    left?: number;
    right?: number;
    top?: number;
}

Padding in pixels. Can be a number or an object with top, right, bottom, and left properties.

16
position?: WatermarkPosition

Position of the watermark on the screen.

'bottom-left'
scale?: number

Scale of the watermark between 0.5 and 1.5.

1