GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Reads configuration from the running core instance (globalThis.GeoLeaf.Config).

      The offline engine loads via a dynamic import() after boot, once the core Config singleton is fully initialised with the active profile. Reading through the global GeoLeaf.Config (rather than importing the Config module) guarantees the live, accessor-augmented instance regardless of chunk-load timing.

      Type Parameters

      • T = unknown

      Parameters

      • key: string

        Dotted config path (e.g. "data.activeProfile").

      • OptionaldefaultValue: T

        Returned when the core/config/value is unavailable.

      Returns T

      The config value, or defaultValue when absent.

      PLUGINS S1 — this was the ninth copy of a helper duplicated across eight plugins. The other eight now import it from @geoleaf/host-runtime; this one does NOT, deliberately. That package is the plugin-side shim for the namespace this core assembles, so importing it here would invert the dependency for no gain. The duplication that remained is removed by delegating to the core's own getGeoLeaf(), already the established route from capabilities/ (8+ call sites).

      ⚠️ Not to be confused with capabilities/feature-info/layer-config-seam.ts, which exports coreLayerConfigGet() — a different function.