Open Pioneer Trails Packages
    Preparing search index...

    Interface SublayersCollection<SublayerType>

    Contains the sublayers that belong to a Layer or Sublayer.

    interface SublayersCollection<SublayerType = Sublayer> {
        getItems(options?: LayerRetrievalOptions): SublayerType[];
        getRecursiveLayers(options?: RecursiveRetrievalOptions): WMSSublayer[];
        getSublayers(options?: LayerRetrievalOptions): SublayerType[];
    }

    Type Parameters

    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 collection contains many, deeply nested sublayers, this function could potentially be expensive.

      Parameters

      Returns WMSSublayer[]