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
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.