Separate ol.projection module from ol.Projection class

This commit is contained in:
Tom Payne
2013-03-03 13:09:13 +01:00
parent 3e420313a2
commit fcc620af7d
28 changed files with 165 additions and 149 deletions

View File

@@ -71,7 +71,7 @@ describe('ol.Extent', function() {
it('does transform', function() {
var transformFn =
ol.Projection.getTransformFromCodes('EPSG:4326', 'EPSG:3857');
ol.projection.getTransformFromCodes('EPSG:4326', 'EPSG:3857');
var sourceExtent = new ol.Extent(-15, -30, 45, 60);
var destinationExtent = sourceExtent.transform(transformFn);
expect(destinationExtent).not.toBeUndefined();
@@ -101,4 +101,4 @@ describe('ol.Extent', function() {
});
goog.require('ol.Extent');
goog.require('ol.Projection');
goog.require('ol.projection');