Interface gmfPrintOptions

interface gmfPrintOptions {
    defaultLayout?: string;
    fieldValues?: {};
    goodnessOfFit?: number;
    hiddenAttributes?: string[];
    legend?: OptionsLegendType;
    rotateMask?: boolean;
    scaleInput?: boolean;
}

Properties

defaultLayout?: string
fieldValues?: {}

optional. Key, value object to define default value in each of your print panel field. The key refers to the property's name of the field. Example: {'comments': 'demo', 'legend': false}. Doesn't work for the DPI and the scale. Server's values are used in priority.

goodnessOfFit?: number
hiddenAttributes?: string[]

The list of attributes that should be hidden.

Options used to build the legend.

rotateMask?: boolean

True to apply rotation on the mask instead of the map. By default, the map rotates.

scaleInput?: boolean