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
+2 -1
View File
@@ -9,7 +9,8 @@ const _ol_renderer_vector_ = {};
/**
* @type {number} Tolerance for geometry simplification in device pixels.
* Tolerance for geometry simplification in device pixels.
* @type {number}
*/
const SIMPLIFY_TOLERANCE = 0.5;
+2 -1
View File
@@ -23,7 +23,8 @@ import ContextEventType from '../../webgl/ContextEventType.js';
/**
* @type {number} Texture cache high water mark.
* Texture cache high water mark.
* @type {number}
*/
const WEBGL_TEXTURE_CACHE_HIGH_WATER_MARK = 1024;