Rename _ol_source_Image_ to ImageSource
This commit is contained in:
@@ -8,7 +8,7 @@ import _ol_events_ from '../events.js';
|
||||
import EventType from '../events/EventType.js';
|
||||
import {containsExtent, getHeight, getWidth} from '../extent.js';
|
||||
import _ol_obj_ from '../obj.js';
|
||||
import _ol_source_Image_ from '../source/Image.js';
|
||||
import ImageSource from '../source/Image.js';
|
||||
import _ol_uri_ from '../uri.js';
|
||||
|
||||
/**
|
||||
@@ -30,7 +30,7 @@ var _ol_source_ImageArcGISRest_ = function(opt_options) {
|
||||
|
||||
var options = opt_options || {};
|
||||
|
||||
_ol_source_Image_.call(this, {
|
||||
ImageSource.call(this, {
|
||||
attributions: options.attributions,
|
||||
projection: options.projection,
|
||||
resolutions: options.resolutions
|
||||
@@ -60,7 +60,7 @@ var _ol_source_ImageArcGISRest_ = function(opt_options) {
|
||||
* @type {ol.ImageLoadFunctionType}
|
||||
*/
|
||||
this.imageLoadFunction_ = options.imageLoadFunction !== undefined ?
|
||||
options.imageLoadFunction : _ol_source_Image_.defaultImageLoadFunction;
|
||||
options.imageLoadFunction : ImageSource.defaultImageLoadFunction;
|
||||
|
||||
|
||||
/**
|
||||
@@ -96,7 +96,7 @@ var _ol_source_ImageArcGISRest_ = function(opt_options) {
|
||||
|
||||
};
|
||||
|
||||
inherits(_ol_source_ImageArcGISRest_, _ol_source_Image_);
|
||||
inherits(_ol_source_ImageArcGISRest_, ImageSource);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user