Open Pioneer Trails Packages
    Preparing search index...

    Interface GroupLayerCollection

    Contains Layer instances that belong to a GroupLayer

    interface GroupLayerCollection {
        getItems(options?: LayerRetrievalOptions): Layer[];
        getLayers(options?: LayerRetrievalOptions): Layer[];
        getRecursiveLayers(options?: RecursiveRetrievalOptions): AnyLayer[];
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Returns a list of all layers in the collection, including all children (recursively).

      Note: This includes base layers by default (see options.filter). Use the "base" or "operational" short hand values to filter by base layer or operational layers.

      If the group contains many, deeply nested sub groups, this function could potentially be expensive.

      Parameters

      Returns AnyLayer[]