From 2ae553702b913bb4572131842eacc34f902dda9c Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 19 Dec 2017 08:37:33 +0100 Subject: [PATCH] Rename _ol_source_RasterOperationType_ to RasterOperationType --- src/ol/source/Raster.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/source/Raster.js b/src/ol/source/Raster.js index 63b3841848..490edaef3d 100644 --- a/src/ol/source/Raster.js +++ b/src/ol/source/Raster.js @@ -16,7 +16,7 @@ import _ol_obj_ from '../obj.js'; import _ol_renderer_canvas_ImageLayer_ from '../renderer/canvas/ImageLayer.js'; import _ol_renderer_canvas_TileLayer_ from '../renderer/canvas/TileLayer.js'; import _ol_source_Image_ from '../source/Image.js'; -import _ol_source_RasterOperationType_ from '../source/RasterOperationType.js'; +import RasterOperationType from '../source/RasterOperationType.js'; import SourceState from '../source/State.js'; import _ol_source_Tile_ from '../source/Tile.js'; import _ol_transform_ from '../transform.js'; @@ -46,7 +46,7 @@ var _ol_source_Raster_ = function(options) { * @type {ol.source.RasterOperationType} */ this.operationType_ = options.operationType !== undefined ? - options.operationType : _ol_source_RasterOperationType_.PIXEL; + options.operationType : RasterOperationType.PIXEL; /** * @private @@ -149,7 +149,7 @@ inherits(_ol_source_Raster_, _ol_source_Image_); _ol_source_Raster_.prototype.setOperation = function(operation, opt_lib) { this.worker_ = new Processor({ operation: operation, - imageOps: this.operationType_ === _ol_source_RasterOperationType_.IMAGE, + imageOps: this.operationType_ === RasterOperationType.IMAGE, queue: 1, lib: opt_lib, threads: this.threads_