Options to get WMS legend URL.

interface WMSLegendURLOptions {
    additionalQueryString?: Record<string, unknown>;
    bbox?: number[];
    dpi?: number;
    legendHeight?: number;
    legendRule?: string;
    legendWidth?: number;
    scale?: number;
    serverType?: string;
    srs?: string;
}

Properties

additionalQueryString?: Record<string, unknown>

Additional query string parameters.

bbox?: number[]

the bbox.

dpi?: number

the DPI.

legendHeight?: number

the legend height.

legendRule?: string

parameters to add to the returned URL.

legendWidth?: number

the legend width.

scale?: number
serverType?: string

the OpenLayers server type.

srs?: string

The projection code.