zoomFactor defaults to 2

This commit is contained in:
Éric Lemoine
2013-02-20 16:47:22 +01:00
committed by Tim Schaub
parent e1c3faa53e
commit 29d3878ea3
4 changed files with 5 additions and 21 deletions

View File

@@ -121,7 +121,7 @@ describe('ol.Map', function() {
var interactions = ol.Map.createInteractions_(options);
expect(interactions.getLength()).toEqual(1);
expect(interactions.getAt(0)).toBeA(ol.interaction.DblClickZoom);
expect(interactions.getAt(0).delta_).toEqual(4);
expect(interactions.getAt(0).delta_).toEqual(1);
});
});