Make classes in ol/ available as named exports from ol
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/style/Circle
|
||||
*/
|
||||
import {inherits} from '../index.js';
|
||||
import {inherits} from '../util.js';
|
||||
import RegularShape from '../style/RegularShape.js';
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/style/Fill
|
||||
*/
|
||||
import {getUid} from '../index.js';
|
||||
import {getUid} from '../util.js';
|
||||
import {asString} from '../color.js';
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/style/Icon
|
||||
*/
|
||||
import {getUid, inherits} from '../index.js';
|
||||
import {getUid, inherits} from '../util.js';
|
||||
import ImageState from '../ImageState.js';
|
||||
import {assert} from '../asserts.js';
|
||||
import {asArray} from '../color.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/style/IconImage
|
||||
*/
|
||||
import {inherits} from '../index.js';
|
||||
import {inherits} from '../util.js';
|
||||
import {createCanvasContext2D} from '../dom.js';
|
||||
import {listenOnce, unlistenByKey} from '../events.js';
|
||||
import EventTarget from '../events/EventTarget.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/style/RegularShape
|
||||
*/
|
||||
import {inherits} from '../index.js';
|
||||
import {inherits} from '../util.js';
|
||||
import {asColorLike} from '../colorlike.js';
|
||||
import {createCanvasContext2D} from '../dom.js';
|
||||
import {CANVAS_LINE_DASH} from '../has.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/style/Stroke
|
||||
*/
|
||||
import {getUid} from '../index.js';
|
||||
import {getUid} from '../util.js';
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user