Field Notes
    Preparing search index...

    Interface MinimapControllerOptions

    interface MinimapControllerOptions {
        background?: string;
        cancelFrame?: (id: number) => void;
        debounceMs?: number;
        getExtraBounds?: () => Bounds | null;
        height?: number;
        interactive?: boolean;
        minimapHooks?: TypedHookRegistry<MinimapRenderHooks>;
        padding?: number;
        requestFrame?: (cb: () => void) => number;
        viewportStroke?: string;
        width?: number;
    }
    Index
    background?: string

    Backdrop fill behind the thumbnail. Default: none (transparent).

    cancelFrame?: (id: number) => void

    Frame canceller; default cancelAnimationFrame. Injected by tests.

    debounceMs?: number

    Trailing debounce for scene bitmap re-renders. Default 200.

    getExtraBounds?: () => Bounds | null

    Returns additional world bounds to include in the minimap mapping.

    height?: number

    Minimap height in CSS pixels. Default 140.

    interactive?: boolean

    Tap/drag-to-center navigation on the canvas. Default true.

    Render hook registries for domain surfaces.

    padding?: number

    Content inset inside the minimap, in minimap pixels. Default 8.

    requestFrame?: (cb: () => void) => number

    Frame scheduler; default requestAnimationFrame. Injected by tests.

    viewportStroke?: string

    Stroke color of the viewport rectangle. Default '#3b82f6'.

    width?: number

    Minimap width in CSS pixels. Default 200.