Fix default value docs for ScaleLine class option

This commit is contained in:
Maximilian Krög
2022-08-06 22:57:42 +02:00
parent 97f0e70447
commit ff79897f06

View File

@@ -39,7 +39,8 @@ const DEFAULT_DPI = 25.4 / 0.28;
/** /**
* @typedef {Object} Options * @typedef {Object} Options
* @property {string} [className='ol-scale-line'] CSS Class name. * @property {string} [className] CSS class name. The default is `ol-scale-bar` when configured with
* `bar: true`. Otherwise the default is `ol-scale-line`.
* @property {number} [minWidth=64] Minimum width in pixels at the OGC default dpi. The width will be * @property {number} [minWidth=64] Minimum width in pixels at the OGC default dpi. The width will be
* adjusted to match the dpi used. * adjusted to match the dpi used.
* @property {number} [maxWidth] 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