Fix type annotations

This commit is contained in:
Andreas Hocevar
2018-01-26 00:06:50 +01:00
parent 3d817ff7e7
commit 2c718db797
12 changed files with 46 additions and 32 deletions

View File

@@ -21,15 +21,17 @@ import {containsExtent, getBottomLeft, getBottomRight, getTopLeft, getTopRight,
/**
* @type {number} Maximum width and/or height extent ratio that determines
* when the overview map should be zoomed out.
* Maximum width and/or height extent ratio that determines when the overview
* map should be zoomed out.
* @type {number}
*/
const MAX_RATIO = 0.75;
/**
* @type {number} Minimum width and/or height extent ratio that determines
* when the overview map should be zoomed in.
* Minimum width and/or height extent ratio that determines when the overview
* map should be zoomed in.
* @type {number}
*/
const MIN_RATIO = 0.1;