Remove extra map.render() calls from mousewheel zoom interaction
This commit is contained in:
committed by
Bart van den Eijnden
parent
22add7e431
commit
684a551273
@@ -132,7 +132,6 @@ ol.interaction.MouseWheelZoom.prototype.doZoom_ = function(map) {
|
|||||||
|
|
||||||
var view = map.getView();
|
var view = map.getView();
|
||||||
|
|
||||||
map.render();
|
|
||||||
ol.interaction.Interaction.zoomByDelta(map, view, -delta, this.lastAnchor_,
|
ol.interaction.Interaction.zoomByDelta(map, view, -delta, this.lastAnchor_,
|
||||||
this.duration_);
|
this.duration_);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user