Move ENABLE_RASTER_REPROJECTION to a temporary place
This commit is contained in:
@@ -11,13 +11,6 @@ import webgl from './webgl.js';
|
|||||||
export var DEFAULT_WMS_VERSION = '1.3.0';
|
export var DEFAULT_WMS_VERSION = '1.3.0';
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @type {boolean} Enable automatic reprojection of raster sources. Default is
|
|
||||||
* `true`.
|
|
||||||
*/
|
|
||||||
export var ENABLE_RASTER_REPROJECTION = true;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {boolean} Include debuggable shader sources. Default is `true`.
|
* @type {boolean} Include debuggable shader sources. Default is `true`.
|
||||||
* This should be set to `false` for production builds.
|
* This should be set to `false` for production builds.
|
||||||
@@ -136,7 +129,6 @@ export default {
|
|||||||
inherits: inherits,
|
inherits: inherits,
|
||||||
VERSION: VERSION,
|
VERSION: VERSION,
|
||||||
DEFAULT_WMS_VERSION: DEFAULT_WMS_VERSION,
|
DEFAULT_WMS_VERSION: DEFAULT_WMS_VERSION,
|
||||||
ENABLE_RASTER_REPROJECTION: ENABLE_RASTER_REPROJECTION,
|
|
||||||
DEBUG_WEBGL: DEBUG_WEBGL,
|
DEBUG_WEBGL: DEBUG_WEBGL,
|
||||||
HAS_WEBGL: HAS_WEBGL,
|
HAS_WEBGL: HAS_WEBGL,
|
||||||
WEBGL_MAX_TEXTURE_SIZE: WEBGL_MAX_TEXTURE_SIZE,
|
WEBGL_MAX_TEXTURE_SIZE: WEBGL_MAX_TEXTURE_SIZE,
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
/**
|
/**
|
||||||
* @module ol/renderer/canvas/ImageLayer
|
* @module ol/renderer/canvas/ImageLayer
|
||||||
*/
|
*/
|
||||||
import {ENABLE_RASTER_REPROJECTION, inherits} from '../../index.js';
|
import {ENABLE_RASTER_REPROJECTION} from '../../reproj/common.js';
|
||||||
|
import {inherits} from '../../index.js';
|
||||||
import _ol_ImageCanvas_ from '../../ImageCanvas.js';
|
import _ol_ImageCanvas_ from '../../ImageCanvas.js';
|
||||||
import _ol_LayerType_ from '../../LayerType.js';
|
import _ol_LayerType_ from '../../LayerType.js';
|
||||||
import _ol_ViewHint_ from '../../ViewHint.js';
|
import _ol_ViewHint_ from '../../ViewHint.js';
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
/**
|
/**
|
||||||
* @module ol/renderer/webgl/ImageLayer
|
* @module ol/renderer/webgl/ImageLayer
|
||||||
*/
|
*/
|
||||||
import {ENABLE_RASTER_REPROJECTION, inherits, nullFunction} from '../../index.js';
|
import {ENABLE_RASTER_REPROJECTION} from '../../reproj/common.js';
|
||||||
|
import {inherits, nullFunction} from '../../index.js';
|
||||||
import _ol_LayerType_ from '../../LayerType.js';
|
import _ol_LayerType_ from '../../LayerType.js';
|
||||||
import _ol_ViewHint_ from '../../ViewHint.js';
|
import _ol_ViewHint_ from '../../ViewHint.js';
|
||||||
import _ol_dom_ from '../../dom.js';
|
import _ol_dom_ from '../../dom.js';
|
||||||
|
|||||||
@@ -3,3 +3,10 @@
|
|||||||
* reprojection triangulation.
|
* reprojection triangulation.
|
||||||
*/
|
*/
|
||||||
export var ERROR_THRESHOLD = 0.5;
|
export var ERROR_THRESHOLD = 0.5;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TODO: decide if we want to expose this as a build flag or remove it
|
||||||
|
* @type {boolean} Enable automatic reprojection of raster sources. Default is
|
||||||
|
* `true`.
|
||||||
|
*/
|
||||||
|
export var ENABLE_RASTER_REPROJECTION = true;
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
/**
|
/**
|
||||||
* @module ol/source/Image
|
* @module ol/source/Image
|
||||||
*/
|
*/
|
||||||
import {ENABLE_RASTER_REPROJECTION, inherits} from '../index.js';
|
import {ENABLE_RASTER_REPROJECTION} from '../reproj/common.js';
|
||||||
|
import {inherits} from '../index.js';
|
||||||
import _ol_ImageState_ from '../ImageState.js';
|
import _ol_ImageState_ from '../ImageState.js';
|
||||||
import _ol_array_ from '../array.js';
|
import _ol_array_ from '../array.js';
|
||||||
import _ol_events_Event_ from '../events/Event.js';
|
import _ol_events_Event_ from '../events/Event.js';
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
/**
|
/**
|
||||||
* @module ol/source/TileImage
|
* @module ol/source/TileImage
|
||||||
*/
|
*/
|
||||||
import {ENABLE_RASTER_REPROJECTION, getUid, inherits} from '../index.js';
|
import {ENABLE_RASTER_REPROJECTION} from '../reproj/common.js';
|
||||||
|
import {getUid, inherits} from '../index.js';
|
||||||
import _ol_ImageTile_ from '../ImageTile.js';
|
import _ol_ImageTile_ from '../ImageTile.js';
|
||||||
import _ol_TileCache_ from '../TileCache.js';
|
import _ol_TileCache_ from '../TileCache.js';
|
||||||
import _ol_TileState_ from '../TileState.js';
|
import _ol_TileState_ from '../TileState.js';
|
||||||
|
|||||||
Reference in New Issue
Block a user