GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Opens a side-panel tab by id, without toggling.

      Calling it twice with the same id leaves the panel open — that is exactly what separates it from a click on the tab, which closes an already-open tab. Use it to drive the panel from host code (a menu entry, a deep link, a workflow step).

      Parameters

      • tabId: string

        Tab to open: "filters", "layers" or "legend", depending on what the profile enabled at initDesktopPanel().

      Returns boolean

      true if the tab exists and is now open, false if the panel is not built, the desktop breakpoint is not active, or no such tab was declared.

      GeoLeaf?.UI?.openPanel("layers"); // true
      GeoLeaf?.UI?.openPanel("layers"); // true — still open, never a toggle