Make classes in ol/ available as named exports from ol
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
// FIXME add rotation
|
||||
|
||||
import {inherits} from '../index.js';
|
||||
import {inherits} from '../util.js';
|
||||
import Disposable from '../Disposable.js';
|
||||
import Polygon from '../geom/Polygon.js';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/Event
|
||||
*/
|
||||
import {inherits} from '../index.js';
|
||||
import {inherits} from '../util.js';
|
||||
import Event from '../events/Event.js';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/canvas/ImageReplay
|
||||
*/
|
||||
import {inherits} from '../../index.js';
|
||||
import {inherits} from '../../util.js';
|
||||
import CanvasInstruction from '../canvas/Instruction.js';
|
||||
import CanvasReplay from '../canvas/Replay.js';
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// FIXME need to handle large thick features (where pixel size matters)
|
||||
// FIXME add offset and end to ol/geom/flat/transform~transform2D?
|
||||
|
||||
import {inherits} from '../../index.js';
|
||||
import {inherits} from '../../util.js';
|
||||
import {equals} from '../../array.js';
|
||||
import {asColorLike} from '../../colorlike.js';
|
||||
import {intersects} from '../../extent.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/canvas/LineStringReplay
|
||||
*/
|
||||
import {inherits} from '../../index.js';
|
||||
import {inherits} from '../../util.js';
|
||||
import CanvasInstruction, {strokeInstruction, beginPathInstruction} from '../canvas/Instruction.js';
|
||||
import CanvasReplay from '../canvas/Replay.js';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/canvas/PolygonReplay
|
||||
*/
|
||||
import {inherits} from '../../index.js';
|
||||
import {inherits} from '../../util.js';
|
||||
import {asString} from '../../color.js';
|
||||
import {snap} from '../../geom/flat/simplify.js';
|
||||
import {defaultFillStyle} from '../canvas.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/canvas/Replay
|
||||
*/
|
||||
import {getUid, inherits} from '../../index.js';
|
||||
import {getUid, inherits} from '../../util.js';
|
||||
import {UNDEFINED} from '../../functions.js';
|
||||
import {equals, reverseSubArray} from '../../array.js';
|
||||
import {asColorLike} from '../../colorlike.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/canvas/ReplayGroup
|
||||
*/
|
||||
import {inherits} from '../../index.js';
|
||||
import {inherits} from '../../util.js';
|
||||
import {numberSafeCompareFunction} from '../../array.js';
|
||||
import {createCanvasContext2D} from '../../dom.js';
|
||||
import {buffer, createEmpty, extendCoordinate} from '../../extent.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/canvas/TextReplay
|
||||
*/
|
||||
import {getUid, inherits} from '../../index.js';
|
||||
import {getUid, inherits} from '../../util.js';
|
||||
import {asColorLike} from '../../colorlike.js';
|
||||
import {createCanvasContext2D} from '../../dom.js';
|
||||
import {intersects} from '../../extent.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/webgl/CircleReplay
|
||||
*/
|
||||
import {getUid, inherits} from '../../index.js';
|
||||
import {getUid, inherits} from '../../util.js';
|
||||
import {equals} from '../../array.js';
|
||||
import {asArray} from '../../color.js';
|
||||
import {intersects} from '../../extent.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/webgl/ImageReplay
|
||||
*/
|
||||
import {getUid, inherits} from '../../index.js';
|
||||
import {getUid, inherits} from '../../util.js';
|
||||
import WebGLTextureReplay from '../webgl/TextureReplay.js';
|
||||
import WebGLBuffer from '../../webgl/Buffer.js';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/webgl/Immediate
|
||||
*/
|
||||
import {inherits} from '../../index.js';
|
||||
import {inherits} from '../../util.js';
|
||||
import {intersects} from '../../extent.js';
|
||||
import GeometryType from '../../geom/GeometryType.js';
|
||||
import ReplayType from '../ReplayType.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/webgl/LineStringReplay
|
||||
*/
|
||||
import {getUid, inherits} from '../../index.js';
|
||||
import {getUid, inherits} from '../../util.js';
|
||||
import {equals} from '../../array.js';
|
||||
import {asArray} from '../../color.js';
|
||||
import {intersects} from '../../extent.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/webgl/PolygonReplay
|
||||
*/
|
||||
import {getUid, inherits} from '../../index.js';
|
||||
import {getUid, inherits} from '../../util.js';
|
||||
import {equals} from '../../array.js';
|
||||
import {asArray} from '../../color.js';
|
||||
import {intersects} from '../../extent.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/webgl/Replay
|
||||
*/
|
||||
import {inherits} from '../../index.js';
|
||||
import {inherits} from '../../util.js';
|
||||
import {getCenter} from '../../extent.js';
|
||||
import VectorContext from '../VectorContext.js';
|
||||
import {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/webgl/ReplayGroup
|
||||
*/
|
||||
import {inherits} from '../../index.js';
|
||||
import {inherits} from '../../util.js';
|
||||
import {numberSafeCompareFunction} from '../../array.js';
|
||||
import {buffer, createOrUpdateFromCoordinate} from '../../extent.js';
|
||||
import {isEmpty} from '../../obj.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/webgl/TextReplay
|
||||
*/
|
||||
import {getUid, inherits} from '../../index.js';
|
||||
import {getUid, inherits} from '../../util.js';
|
||||
import {asColorLike} from '../../colorlike.js';
|
||||
import {createCanvasContext2D} from '../../dom.js';
|
||||
import GeometryType from '../../geom/GeometryType.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/render/webgl/TextureReplay
|
||||
*/
|
||||
import {getUid, inherits} from '../../index.js';
|
||||
import {getUid, inherits} from '../../util.js';
|
||||
import {intersects} from '../../extent.js';
|
||||
import {isEmpty} from '../../obj.js';
|
||||
import {fragment, vertex} from '../webgl/texturereplay/defaultshader.js';
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// This file is automatically generated, do not edit.
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import {DEBUG_WEBGL} from '../../../index.js';
|
||||
import {DEBUG as DEBUG_WEBGL} from '../../../webgl.js';
|
||||
import WebGLFragment from '../../../webgl/Fragment.js';
|
||||
import WebGLVertex from '../../../webgl/Vertex.js';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// This file is automatically generated, do not edit
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import {DEBUG_WEBGL} from '../../../../index.js';
|
||||
import {DEBUG as DEBUG_WEBGL} from '../../../../webgl.js';
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// This file is automatically generated, do not edit.
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import {DEBUG_WEBGL} from '../../../index.js';
|
||||
import {DEBUG as DEBUG_WEBGL} from '../../../webgl.js';
|
||||
import WebGLFragment from '../../../webgl/Fragment.js';
|
||||
import WebGLVertex from '../../../webgl/Vertex.js';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// This file is automatically generated, do not edit
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import {DEBUG_WEBGL} from '../../../../index.js';
|
||||
import {DEBUG as DEBUG_WEBGL} from '../../../../webgl.js';
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// This file is automatically generated, do not edit.
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import {DEBUG_WEBGL} from '../../../index.js';
|
||||
import {DEBUG as DEBUG_WEBGL} from '../../../webgl.js';
|
||||
import WebGLFragment from '../../../webgl/Fragment.js';
|
||||
import WebGLVertex from '../../../webgl/Vertex.js';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// This file is automatically generated, do not edit
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import {DEBUG_WEBGL} from '../../../../index.js';
|
||||
import {DEBUG as DEBUG_WEBGL} from '../../../../webgl.js';
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// This file is automatically generated, do not edit.
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import {DEBUG_WEBGL} from '../../../index.js';
|
||||
import {DEBUG as DEBUG_WEBGL} from '../../../webgl.js';
|
||||
import WebGLFragment from '../../../webgl/Fragment.js';
|
||||
import WebGLVertex from '../../../webgl/Vertex.js';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// This file is automatically generated, do not edit
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import {DEBUG_WEBGL} from '../../../../index.js';
|
||||
import {DEBUG as DEBUG_WEBGL} from '../../../../webgl.js';
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
|
||||
Reference in New Issue
Block a user