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

    Function utilFindLayerAndChildrenPaths

    • Finds a layer and all its children from the ordered layers array.

      Matches the exact layer path and any paths that start with the given path followed by a separator.

      Parameters

      • layerPath: string

        The layer path to search for

      • orderedLayers: string[]

        The ordered layer paths array to search in

      Returns string[]

      The matching layer paths including the layer and its children