@geogirafe/lib-geoportal
    Preparing search index...
    • Filters a tree structure of layers based on a search query. Updates the visibility of layers matching the search text.

      Parameters

      • layerTree: BaseLayer[]

        The tree structure of layers to filter.

      • searchText: string

        The text query used to filter the layers.

      Returns void