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

    GeoLeaf.FeatureInfo public façade (5 methods, v2.1.0).

    interface FeatureInfoPublicApi {
        isEnabled: () => boolean;
        close: () => void;
        openPopup: (
            detail: GeoLeafFeatureClickDetail,
            layout?: SidePanelLayout,
        ) => void;
        openSidePanel: (
            detail: GeoLeafFeatureClickDetail,
            layout?: SidePanelLayout,
        ) => void;
        getConfig: (layerId: string) => FeatureInfoLayerBinding | null;
    }
    Index

    Properties

    isEnabled: () => boolean

    true when modules.feature-info.enabled.

    close: () => void

    Closes both the popup and the side-panel if open.

    openPopup: (detail: GeoLeafFeatureClickDetail, layout?: SidePanelLayout) => void

    Opens the popup at the click point. layout overrides the auto-resolved layer binding — used by callers with no layers.<id>.capabilities.feature-info config of their own (POI injection, Sprint 3). "Voir plus" reuses the same override when opening the side-panel, so an overridden popup never falls back to a generic auto-resolved side-panel.

    openSidePanel: (
        detail: GeoLeafFeatureClickDetail,
        layout?: SidePanelLayout,
    ) => void

    Opens the side-panel — programmatic call or POI injection.

    getConfig: (layerId: string) => FeatureInfoLayerBinding | null

    Layer binding config, or null when the layer has no feature-info config.