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

    Class representing a Mapfish Print Encoder.

    Index

    Constructors

    Methods

    • Only non mixed groups of WMS layers are supported.

      Will convert a group of WMS layers sharing the same OGC server into a single MFPWmsLayer where its 'layers' property is a concatenation of all child layers' 'layers' property.

      Parameters

      Returns MFPWmsLayer | null

    • Encodes a layer object according to it's className and options.

      Parameters

      Returns MFPLayer | MFPLayer[] | null

      A promise that resolves to an array of MFP layers, a single MFP layer, or null.

    • Encode special layers, meaning not-in-the-layer-tree layers. These layers are from the mapManager.getLayersToPrint method.

      Parameters

      Returns MFPLayer[]

      An array of encodedlayers.

    • Encodes a WMTS layer into a MFPWmtsLayer or MFPWmsLayer object.

      Parameters

      Returns MFPWmsLayer | MFPWmtsLayer | null

      The encoded layer object, or null if the layer is not visible.