From 5d5deee5177b5da6f160498ad326effaad858129 Mon Sep 17 00:00:00 2001 From: Bart van den Eijnden Date: Fri, 1 Apr 2022 13:48:55 +0200 Subject: [PATCH] Update src/ol/control/ScaleLine.js Co-authored-by: Andreas Hocevar --- src/ol/control/ScaleLine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/control/ScaleLine.js b/src/ol/control/ScaleLine.js index 9ea269c2a1..b4f91201b7 100644 --- a/src/ol/control/ScaleLine.js +++ b/src/ol/control/ScaleLine.js @@ -51,7 +51,7 @@ const DEFAULT_DPI = 25.4 / 0.28; * @property {string} [className='ol-scale-line'] CSS Class name. * @property {number} [minWidth=64] Minimum width in pixels at the OGC default dpi. The width will be * adjusted to match the dpi used. - * @property {number|undefined} [maxWidth=undefined] Maximum width in pixels at the OGC default dpi. The width will be + * @property {number} [maxWidth] Maximum width in pixels at the OGC default dpi. The width will be * adjusted to match the dpi used. * @property {function(import("../MapEvent.js").default):void} [render] Function called when the control * should be re-rendered. This is called in a `requestAnimationFrame` callback.