Named exports from ol/proj/epsg4326
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
||||
} from '../../../src/ol/proj.js';
|
||||
import {register} from '../../../src/ol/proj/proj4.js';
|
||||
import {HALF_SIZE} from '../../../src/ol/proj/epsg3857.js';
|
||||
import _ol_proj_EPSG4326_ from '../../../src/ol/proj/EPSG4326.js';
|
||||
import {METERS_PER_UNIT} from '../../../src/ol/proj/epsg4326.js';
|
||||
import Projection from '../../../src/ol/proj/Projection.js';
|
||||
|
||||
|
||||
@@ -600,8 +600,7 @@ describe('ol.proj', function() {
|
||||
|
||||
it('returns value in meters', function() {
|
||||
const epsg4326 = getProjection('EPSG:4326');
|
||||
expect(epsg4326.getMetersPerUnit()).to.eql(
|
||||
_ol_proj_EPSG4326_.METERS_PER_UNIT);
|
||||
expect(epsg4326.getMetersPerUnit()).to.eql(METERS_PER_UNIT);
|
||||
});
|
||||
|
||||
it('works for proj4js projections without units', function() {
|
||||
|
||||
Reference in New Issue
Block a user