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 authored and GitHub committed 2019-09-30 17:34:45 +02:00
commit 176dccd6df
2 files changed
+7 -3

No files matched your search

+1 -1
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() {