diff --git a/src/ol/index.js b/src/ol/index.js index c82cf5a2ae..f6aced6ae8 100644 --- a/src/ol/index.js +++ b/src/ol/index.js @@ -6,6 +6,7 @@ import webgl from './webgl.js'; /** + * TODO: move to a separate ol-webgl package * @type {boolean} Include debuggable shader sources. Default is `true`. * This should be set to `false` for production builds. */ @@ -13,12 +14,7 @@ export var DEBUG_WEBGL = true; /** - * @type {string} OpenLayers version. - */ -export var VERSION = 'v4.6.4'; - - -/** + * TODO: move to a separate ol-webgl package * The maximum supported WebGL texture size in pixels. If WebGL is not * supported, the value is set to `undefined`. * @const @@ -28,6 +24,7 @@ var WEBGL_MAX_TEXTURE_SIZE; // value is set below /** + * TODO: move to a separate ol-webgl package * List of supported WebGL extensions. * @const * @type {Array.} @@ -36,6 +33,7 @@ var WEBGL_EXTENSIONS; // value is set below /** + * TODO: move to a separate ol-webgl package * WebGL is available. * @type {boolean} */ @@ -61,6 +59,12 @@ if ('WebGLRenderingContext' in window) { export {HAS_WEBGL, WEBGL_MAX_TEXTURE_SIZE, WEBGL_EXTENSIONS}; +/** + * @type {string} OpenLayers version. + */ +export var VERSION = 'v4.6.4'; + + /** * Inherit the prototype methods from one constructor into another. *