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

    Click-like detail describing the feature a side-panel (or popup) opens for. Mirrors GeoLeafFeatureClickDetail (contracts/event-bus.contract.ts) — kept as a separate, structurally-identical type here so this contract has no dependency direction onto the GeoJSON event contract.

    interface SidePanelFeatureDetail {
        layerId: string;
        featureId: string | number | null;
        properties: Record<string, unknown>;
        geometry: SidePanelFeatureGeometry | null;
        lngLat: { lat: number; lng: number };
        point: { x: number; y: number };
    }
    Index

    Properties

    layerId: string

    GeoLeaf layer id the feature belongs to.

    featureId: string | number | null

    Stable feature id, or null when the source has none.

    properties: Record<string, unknown>

    Feature properties (attribute bag).

    geometry: SidePanelFeatureGeometry | null

    Feature geometry, or null when unavailable.

    lngLat: { lat: number; lng: number }

    Geographic position associated with the interaction.

    point: { x: number; y: number }

    Pixel coordinates within the map container, when known.