Update src/ol/control/ScaleLine.js

Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
This commit is contained in:
Bart van den Eijnden
2022-04-01 13:48:55 +02:00
committed by GitHub
parent aff459bc02
commit 5d5deee517

View File

@@ -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.