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

    Function useStoreAppMapTargetElement

    • Hook that returns the OpenLayers map target element for the current map.

      Reactive counterpart to getGVMapTargetElement: resolved through the reactive-lookup path so a component re-renders once the element is mounted. Use this for render-time needs; use getGVMapTargetElement(mapId) for imperative access in effects, handlers, controllers, or non-React code.

      Returns HTMLElement | undefined

      The map target element, or undefined when the map is not yet mounted.