@geoblocks/ol-comfy
    Preparing search index...

    Parent (abstract) class for a layer group. Helps to manipulate one layer group. The child class must start by setting the layerGroup.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get layerAdded(): Subject<BaseLayer>

      Returns Subject<BaseLayer>

      an observables that notify addition of layer in this group.

    Methods

    • Add a single layer at the end of the layer group.

      Parameters

      • layer: BaseLayer

        Ol layer.

      • layerUid: string

        id of the layer.

      Returns void

    • Remove all layers from the map and clear the layer group.

      Returns void

    • Returns Source[]

      Every source from layers having sources in the layer group.

    • Retrieve a layer currently in the layer group.

      Parameters

      • layerUid: string

      Returns null | BaseLayer

      The matching layer or null.

    • Refresh the source of every layer with a source in the layer group.

      Returns void