Rename _ol_Image_ to ImageWrapper
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import _ol_Image_ from '../../../../src/ol/Image.js';
|
||||
import ImageWrapper from '../../../../src/ol/Image.js';
|
||||
import Map from '../../../../src/ol/Map.js';
|
||||
import View from '../../../../src/ol/View.js';
|
||||
import Layer from '../../../../src/ol/layer/Layer.js';
|
||||
@@ -28,7 +28,7 @@ describe('ol.renderer.Layer', function() {
|
||||
const src = '';
|
||||
const crossOrigin = '';
|
||||
imageLoadFunction = sinon.spy();
|
||||
image = new _ol_Image_(extent, resolution, pixelRatio, src, crossOrigin, imageLoadFunction);
|
||||
image = new ImageWrapper(extent, resolution, pixelRatio, src, crossOrigin, imageLoadFunction);
|
||||
});
|
||||
|
||||
describe('load IDLE image', function() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import _ol_Image_ from '../../../../src/ol/Image.js';
|
||||
import ImageWrapper from '../../../../src/ol/Image.js';
|
||||
import {listen} from '../../../../src/ol/events.js';
|
||||
import {get as getProjection} from '../../../../src/ol/proj.js';
|
||||
import ReprojImage from '../../../../src/ol/reproj/Image.js';
|
||||
@@ -10,7 +10,7 @@ describe('ol.reproj.Image', function() {
|
||||
getProjection('EPSG:3857'), getProjection('EPSG:4326'),
|
||||
[-180, -85, 180, 85], 10, pixelRatio,
|
||||
function(extent, resolution, pixelRatio) {
|
||||
return new _ol_Image_(extent, resolution, pixelRatio,
|
||||
return new ImageWrapper(extent, resolution, pixelRatio,
|
||||
'data:image/gif;base64,' +
|
||||
'R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=', null,
|
||||
function(image, src) {
|
||||
|
||||
Reference in New Issue
Block a user