Remove static members from ImageSource

This commit is contained in:
Tim Schaub
2018-02-25 08:27:23 -07:00
parent 12eccdc52d
commit 2188c5fa91
7 changed files with 46 additions and 46 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import {listen} from '../events.js';
import EventType from '../events/EventType.js';
import {containsExtent, getHeight, getWidth} from '../extent.js';
import {assign} from '../obj.js';
import ImageSource from '../source/Image.js';
import ImageSource, {defaultImageLoadFunction} from '../source/Image.js';
import {appendParams} from '../uri.js';
/**
@@ -60,7 +60,7 @@ const ImageArcGISRest = function(opt_options) {
* @type {ol.ImageLoadFunctionType}
*/
this.imageLoadFunction_ = options.imageLoadFunction !== undefined ?
options.imageLoadFunction : ImageSource.defaultImageLoadFunction;
options.imageLoadFunction : defaultImageLoadFunction;
/**