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

    Function getStoreLayerLegendLayers

    • Gets the full legend layers array for the given map.

      GV This getter shouldn't have a hook equivalent, favor precise hooks for specific properties instead to GV avoid unnecessary re-renders of the full layers tree when any single layer property changes. GV See examples below for how to create these precise hooks using the createLayerSelectorHook factory.

      Parameters

      • mapId: string

        The map identifier.

      Returns TypeLegendLayer[]

      The legend layers array.