Test projections without transforms
This commit is contained in:
@@ -415,18 +415,9 @@ describe('ol.proj', function () {
|
|||||||
code: 'foo',
|
code: 'foo',
|
||||||
units: 'ft',
|
units: 'ft',
|
||||||
});
|
});
|
||||||
let pointResolution = getPointResolution(
|
let pointResolution = getPointResolution(projection, 2, [0, 0]);
|
||||||
projection,
|
|
||||||
2,
|
|
||||||
[0, 0]
|
|
||||||
);
|
|
||||||
expect(pointResolution).to.be(2);
|
expect(pointResolution).to.be(2);
|
||||||
pointResolution = getPointResolution(
|
pointResolution = getPointResolution(projection, 2, [0, 0], 'm');
|
||||||
projection,
|
|
||||||
2,
|
|
||||||
[0, 0],
|
|
||||||
'm'
|
|
||||||
);
|
|
||||||
expect(pointResolution).to.be(0.6096);
|
expect(pointResolution).to.be(0.6096);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user