Remove unused map parameter from several interaction methods

This commit is contained in:
Thomas Chandelle
2017-01-05 15:34:47 +01:00
parent b5af8e4783
commit 8956a492eb
12 changed files with 35 additions and 41 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ ol.interaction.KeyboardPan.handleEvent = function(mapBrowserEvent) {
}
var delta = [deltaX, deltaY];
ol.coordinate.rotate(delta, view.getRotation());
ol.interaction.Interaction.pan(map, view, delta, this.duration_);
ol.interaction.Interaction.pan(view, delta, this.duration_);
mapBrowserEvent.preventDefault();
stopEvent = true;
}