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.