Separate internal and API methods for the view

This commit is contained in:
Tim Schaub
2019-08-11 17:28:28 -06:00
parent f73d0b16ec
commit c03c359a20
17 changed files with 214 additions and 69 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ describe('ol.interaction.DragZoom', function() {
interaction.onBoxEnd_();
setTimeout(function() {
const view = map.getView();
const center = view.getCenter();
const center = view.getCenterInternal();
expect(center).to.eql(getCenter(extent));
done();
}, 50);