Add common transforms by default
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
goog.provide('ol.test.proj.EPSG3857');
|
||||
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.proj.common');
|
||||
|
||||
describe('ol.proj.EPSG3857', function() {
|
||||
|
||||
afterEach(function() {
|
||||
ol.proj.clearAllProjections();
|
||||
ol.proj.common.add();
|
||||
ol.proj.addCommon();
|
||||
});
|
||||
|
||||
describe('fromEPSG4326()', function() {
|
||||
|
||||
@@ -3,14 +3,13 @@ goog.provide('ol.test.proj');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.proj.EPSG4326');
|
||||
goog.require('ol.proj.Projection');
|
||||
goog.require('ol.proj.common');
|
||||
|
||||
|
||||
describe('ol.proj', function() {
|
||||
|
||||
afterEach(function() {
|
||||
ol.proj.clearAllProjections();
|
||||
ol.proj.common.add();
|
||||
ol.proj.addCommon();
|
||||
});
|
||||
|
||||
describe('projection equivalence', function() {
|
||||
|
||||
@@ -2,7 +2,6 @@ goog.provide('ol.test.renderer.webgl.ImageLayer');
|
||||
|
||||
goog.require('ol.transform');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.proj.common');
|
||||
goog.require('ol.layer.Image');
|
||||
goog.require('ol.source.Image');
|
||||
goog.require('ol.renderer.webgl.ImageLayer');
|
||||
@@ -21,8 +20,6 @@ describe('ol.renderer.webgl.ImageLayer', function() {
|
||||
var imageExtent;
|
||||
|
||||
beforeEach(function() {
|
||||
ol.proj.common.add();
|
||||
|
||||
map = new ol.Map({
|
||||
target: document.createElement('div')
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user