Avoid stuck maps when resolving views from a GeoTIFF

This commit is contained in:
Tim Schaub
2022-08-28 10:17:26 -05:00
parent 1dc8a18362
commit 02cf27149a
7 changed files with 15 additions and 8 deletions

View File

@@ -140,7 +140,8 @@ describe('ol/source/GeoTIFF', function () {
expect(projection.getUnits()).to.be('degrees');
expect(viewOptions.extent).to.eql([-180, -90, 180, 90]);
expect(viewOptions.center).to.eql([0, 0]);
expect(viewOptions.resolutions).to.eql([0.703125]);
expect(viewOptions.resolutions).to.eql([1.40625, 0.703125]);
expect(viewOptions.showFullExtent).to.be(true);
done();
});
});