Separate ol.projection module from ol.Projection class
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user