Make classes in ol/ available as named exports from ol

This commit is contained in:
ahocevar
2018-06-21 17:53:45 +02:00
parent 15d116b3c1
commit 28409486a5
218 changed files with 334 additions and 330 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* @module ol/style/AtlasManager
*/
import {WEBGL_MAX_TEXTURE_SIZE} from '../index.js';
import {MAX_TEXTURE_SIZE as WEBGL_MAX_TEXTURE_SIZE} from '../webgl.js';
import {UNDEFINED} from '../functions.js';
import Atlas from '../style/Atlas.js';
@@ -10,7 +10,7 @@ import Atlas from '../style/Atlas.js';
* @typedef {Object} Options
* @property {number} [initialSize=256] The size in pixels of the first atlas image.
* @property {number} [maxSize] The maximum size in pixels of atlas images. Default is
* `WEBGL_MAX_TEXTURE_SIZE` or 2048 if WebGL is not supported.
* `webgl/MAX_TEXTURE_SIZE` or 2048 if WebGL is not supported.
* @property {number} [space=1] The space in pixels between images.
*/