@honua/sdk-js
    Preparing search index...

    Interface MountSourcePopupOptionsExperimental

    Click-popup configuration.

    interface MountSourcePopupOptions {
        factory: PopupFactory;
        fields?: readonly string[];
        render?: (context: MountSourcePopupContext) => string | Node | undefined;
        title?: string;
    }
    Index

    Properties

    factory: PopupFactory

    Creates one popup handle per click — usually () => new maplibregl.Popup().

    fields?: readonly string[]

    Restrict the default renderer to these properties, in order.

    render?: (context: MountSourcePopupContext) => string | Node | undefined

    Custom formatter; return undefined to suppress the popup for a click.

    title?: string

    Title rendered by the default formatter.