Move raster reprojection error threshold to a common reproj module

This commit is contained in:
Tim Schaub
2017-12-12 17:00:30 -07:00
parent b8ab1ff852
commit 8bf00cbfb7
5 changed files with 12 additions and 13 deletions

View File

@@ -11,13 +11,6 @@ import webgl from './webgl.js';
export var ASSUME_TOUCH = false;
/**
* @type {number} Default maximum allowed threshold (in pixels) for
* reprojection triangulation. Default is `0.5`.
*/
export var DEFAULT_RASTER_REPROJECTION_ERROR_THRESHOLD = 0.5;
/**
* @type {string} Default WMS version.
*/
@@ -173,7 +166,6 @@ export default {
inherits: inherits,
VERSION: VERSION,
ASSUME_TOUCH: ASSUME_TOUCH,
DEFAULT_RASTER_REPROJECTION_ERROR_THRESHOLD: DEFAULT_RASTER_REPROJECTION_ERROR_THRESHOLD,
DEFAULT_WMS_VERSION: DEFAULT_WMS_VERSION,
ENABLE_CANVAS: ENABLE_CANVAS,
ENABLE_PROJ4JS: ENABLE_PROJ4JS,