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

    LayerGroup specialized to manage background layers (mostly tiled layers). Each instance must have a unique name (The default name will be valid for the first group). The default position is 0.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    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

    • Retrieve a layer currently in the layer group.

      Parameters

      • layerUid: string

      Returns BaseLayer | null

      The matching layer or null.

    • Set a property of a layer and fires a "LayerPropertyChanged" event if the value has changed.

      Parameters

      • layerUid: string
      • propertyKey: string
      • value: unknown

      Returns void

    • Set one background layer as visible, all others as not visible.

      Parameters

      • layerUid: string

      Returns void