interface PopupOptions {
    autoClose?: boolean;
    autoPan?: boolean;
    autoPanPadding?: PointExpression;
    autoPanPaddingBottomRight?: PointExpression;
    autoPanPaddingTopLeft?: PointExpression;
    className?: string;
    closeButton?: boolean;
    closeOnClick?: boolean;
    closeOnEscapeKey?: boolean;
    content?: string | HTMLElement | ((layer) => string) | ((layer) => HTMLElement);
    interactive?: boolean;
    keepInView?: boolean;
    maxHeight?: number;
    maxWidth?: number;
    minWidth?: number;
    offset?: PointExpression;
    pane?: string;
}

Hierarchy

Properties

autoClose?: boolean
autoPan?: boolean
autoPanPadding?: PointExpression
autoPanPaddingBottomRight?: PointExpression
autoPanPaddingTopLeft?: PointExpression
className?: string
closeButton?: boolean
closeOnClick?: boolean
closeOnEscapeKey?: boolean
content?: string | HTMLElement | ((layer) => string) | ((layer) => HTMLElement)

Type declaration

    • (layer): string
    • Parameters

      Returns string

Type declaration

interactive?: boolean
keepInView?: boolean
maxHeight?: number
maxWidth?: number
minWidth?: number
pane?: string

Generated using TypeDoc