View / better names for getValid* and applyParameters_ methods

This commit is contained in:
Olivier Guyot
2019-02-15 13:43:50 +01:00
parent c2af03f152
commit 405e206717
8 changed files with 43 additions and 46 deletions

View File

@@ -103,7 +103,7 @@ describe('ol.interaction.DragZoom', function() {
setTimeout(function() {
const view = map.getView();
const resolution = view.getResolution();
expect(resolution).to.eql(view.getValidResolution(0.5));
expect(resolution).to.eql(view.getConstrainedResolution(0.5));
done();
}, 50);
}, 50);