Rename _ol_source_Image_ to ImageSource

This commit is contained in:
Tim Schaub
2018-01-08 10:10:20 -07:00
parent 453b79dad7
commit d75623084e
10 changed files with 48 additions and 48 deletions

View File

@@ -9,7 +9,7 @@ import _ol_events_ from '../events.js';
import EventType from '../events/EventType.js';
import {intersects, getHeight, getWidth} from '../extent.js';
import {get as getProjection} from '../proj.js';
import _ol_source_Image_ from '../source/Image.js';
import ImageSource from '../source/Image.js';
/**
* @classdesc
@@ -28,9 +28,9 @@ var _ol_source_ImageStatic_ = function(options) {
var /** @type {ol.ImageLoadFunctionType} */ imageLoadFunction =
options.imageLoadFunction !== undefined ?
options.imageLoadFunction : _ol_source_Image_.defaultImageLoadFunction;
options.imageLoadFunction : ImageSource.defaultImageLoadFunction;
_ol_source_Image_.call(this, {
ImageSource.call(this, {
attributions: options.attributions,
projection: getProjection(options.projection)
});
@@ -52,7 +52,7 @@ var _ol_source_ImageStatic_ = function(options) {
};
inherits(_ol_source_ImageStatic_, _ol_source_Image_);
inherits(_ol_source_ImageStatic_, ImageSource);
/**
@@ -91,6 +91,6 @@ _ol_source_ImageStatic_.prototype.handleImageChange = function(evt) {
this.image_.setImage(canvas);
}
}
_ol_source_Image_.prototype.handleImageChange.call(this, evt);
ImageSource.prototype.handleImageChange.call(this, evt);
};
export default _ol_source_ImageStatic_;