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

    Function setStoreLayerItemVisibility

    • Sets the visibility of a specific legend item and updates the class filter.

      Parameters

      • mapId: string

        The map identifier

      • layerPath: string

        The layer path containing the item

      • item: TypeLegendItem

        The legend item to update (mutated in place)

      • visibility: boolean

        The new visibility state

      • classFilter: string | undefined

        Optional class filter string to apply

      Returns void