Class representing an encoder for creating a legend in the MFP (MapFishPrint) format. Iterates on the layer tree layers to collect layers in the right order and with all metadata.

Constructors

Properties

defaultOptions: Partial<EncodeLegendOptions> = ...

Methods

  • Protected

    Determines whether the label for a specific server type must be hidden.

    Parameters

    • serverType: string

    Returns boolean

    True if the label must be hidden, false otherwise.