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:
Olivier Guyot
2019-09-30 17:34:45 +02:00
committed by GitHub
2 changed files with 7 additions and 3 deletions

View File

@@ -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() {