Adding unreferenced bounds.

This commit is contained in:
Tim Schaub
2012-06-20 00:11:06 +02:00
parent 450f8f7b74
commit b06a52888f
5 changed files with 165 additions and 79 deletions

View File

@@ -29,7 +29,9 @@ describe("ol.Projection", function() {
var point = {x: 10, y: 20, z: 30};
var ret = ol.Projection.transform(point, "EPSG:4326", "EPSG:900913");
var to = new ol.Projection("EPSG:4326");
var from = new ol.Projection("EPSG:900913");
var ret = ol.Projection.transform(point, to, from);
expect(ret).toBeUndefined();