Class representing a Mapfish Print Encoder.

Constructors

Methods

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

    Parameters

    Returns null | MFPLayer | MFPLayer[]

    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 MFPImageLayer object.

    Parameters

    Returns null | MFPImageLayer | MFPWmtsLayer

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