GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Caches the map the basemap registry operates on.

      Accepts either a raw maplibregl.Map or an IMapAdapter, which is unwrapped through getNativeMap() — the registry works against the native API since Sprint 3. null clears the cache, which is what destroy flows and tests use.

      ⚠️ A value that is neither a native map nor an adapter yielding one is silently ignored: the previous map stays cached and no error is raised.

      Parameters

      • mapInstance: unknown

        Native map, adapter, or null to clear.

      Returns void