Add common transforms by default

This commit is contained in:
Tim Schaub
2017-03-27 10:07:00 -06:00
parent 03700c0f01
commit 9415899a03
6 changed files with 30 additions and 26 deletions

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -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')
});