@geogirafe/lib-geoportal
    Preparing search index...

    Function applyOpacityToLayers

    • Applies the given Opacity to the given Layers (if they have such a Property).

      Parameters

      • opacity: number

        Value of Opacity

      • layers: BaseLayer[]

        Layers to apply it

      • Optionalcallback: (layer: BaseLayer) => void

        Optional Callback after Opacity has been applied

      Returns void