GeoLeaf Core API - v3.0.0
    Preparing search index...

    Options controlling popup behaviour and dimensions.

    interface GeoLeafPopupOptions {
        maxWidth?: number;
        minWidth?: number;
        maxHeight?: number;
        closeOnClick?: boolean;
        autoPan?: boolean;
        className?: string;
    }
    Index

    Properties

    maxWidth?: number

    Maximum popup width in pixels.

    minWidth?: number

    Minimum popup width in pixels.

    maxHeight?: number

    Maximum popup height in pixels (enables internal scrolling).

    closeOnClick?: boolean

    Close the popup when the map is clicked.

    true
    
    autoPan?: boolean

    Pan the map to keep the popup fully visible.

    true
    
    className?: string

    Additional CSS class name(s) applied to the popup element.