Named exports from ol/proj
This commit is contained in:
committed by
Andreas Hocevar
parent
fab77e8d37
commit
6f72ffe498
@@ -1,13 +1,13 @@
|
||||
import _ol_Image_ from '../../../../src/ol/Image.js';
|
||||
import _ol_events_ from '../../../../src/ol/events.js';
|
||||
import _ol_proj_ from '../../../../src/ol/proj.js';
|
||||
import {get as getProjection} from '../../../../src/ol/proj.js';
|
||||
import _ol_reproj_Image_ from '../../../../src/ol/reproj/Image.js';
|
||||
|
||||
|
||||
describe('ol.reproj.Image', function() {
|
||||
function createImage(pixelRatio) {
|
||||
return new _ol_reproj_Image_(
|
||||
_ol_proj_.get('EPSG:3857'), _ol_proj_.get('EPSG:4326'),
|
||||
getProjection('EPSG:3857'), getProjection('EPSG:4326'),
|
||||
[-180, -85, 180, 85], 10, pixelRatio,
|
||||
function(extent, resolution, pixelRatio) {
|
||||
return new _ol_Image_(extent, resolution, pixelRatio,
|
||||
|
||||
Reference in New Issue
Block a user