Represents the options for encoding a legend.

interface EncodeLegendOptions {
    dpi: number;
    extent?: number[];
    i18nManager: I18nManager;
    label?: Record<string, undefined | boolean>;
    mapManager: MapManager;
    pageSize: number[];
    params?: Record<string, Record<string, unknown>>;
    printResolution: number;
    scale: number;
    showGroupsTitle?: boolean;
    state: State;
    useExtent?: boolean;
}

Properties

dpi: number
extent?: number[]
i18nManager: I18nManager
label?: Record<string, undefined | boolean>
mapManager: MapManager
pageSize: number[]
params?: Record<string, Record<string, unknown>>
printResolution: number
scale: number
showGroupsTitle?: boolean
state: State
useExtent?: boolean