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

@@ -1,12 +1,13 @@
/**
* @type {number} Default maximum allowed threshold (in pixels) for
* reprojection triangulation.
* Default maximum allowed threshold (in pixels) for reprojection
* triangulation.
* @type {number}
*/
export const ERROR_THRESHOLD = 0.5;
/**
* Enable automatic reprojection of raster sources. Default is `true`.
* TODO: decide if we want to expose this as a build flag or remove it
* @type {boolean} Enable automatic reprojection of raster sources. Default is
* `true`.
* @type {boolean}
*/
export const ENABLE_RASTER_REPROJECTION = true;