geoview-core - v2.3.0
    Preparing search index...

    Function useGVElementById

    • Hook that returns a map-scoped element lookup for the current map.

      The returned function resolves an element by its map-relative suffix (without the ${mapId}- prefix) inside the current map's root element, so lookups never collide across maps on the page.

      Returns (suffix: string) => HTMLElement | undefined

      A stable function (suffix) => HTMLElement | undefined scoped to the current map