Interface gmfWMSSourceOptions

interface gmfWMSSourceOptions {
    debounceDelay: number;
    ratio: number;
}

Properties

Properties

debounceDelay: number

Delay in milliseconds before sending a WMS GetMap request when the view changes. This prevents duplicate requests during animated zoom or pan, especially when the view center is snapped to the WMTS grid after animation ends. When set, a DebouncedImageWMS source is used instead of the standard ImageWMS. The default is no debounce (undefined).

ratio: number

Ratio. 1 means image requests are the size of the map viewport, 2 means twice the width and height of the map viewport, and so on. Must be 1 or higher (non integer value make the layers blurry).