Correct expected result to reflect #10054
Correct world extent constrained resolution test to expect integer zoom level
This commit is contained in:
@@ -454,7 +454,7 @@ describe('ol.View', function() {
|
|||||||
maxResolution: maxResolution,
|
maxResolution: maxResolution,
|
||||||
constrainResolution: true
|
constrainResolution: true
|
||||||
});
|
});
|
||||||
expect(fn(defaultMaxRes, 0, size)).to.be(defaultMaxRes / 2);
|
expect(fn(defaultMaxRes, 0, size)).to.be(maxResolution / 4);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('enabled, with constrainResolution', function() {
|
it('enabled, with constrainResolution', function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user