Merge pull request #10060 from mike-000/patch-1
Ensure zoom level is not less than minimum integer zoom level for extent
This commit is contained in:
@@ -454,7 +454,7 @@ describe('ol.View', function() {
|
||||
maxResolution: maxResolution,
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user