diff --git a/src/ol/interaction/dragpan.js b/src/ol/interaction/dragpan.js index a8f51e7e82..9e8b52d979 100644 --- a/src/ol/interaction/dragpan.js +++ b/src/ol/interaction/dragpan.js @@ -110,9 +110,6 @@ ol.interaction.DragPan.handleUpEvent_ = function(mapBrowserEvent) { duration: 500, easing: ol.easing.easeOut }); - } else { - // the view is not updated, force a render - map.render(); } view.setHint(ol.View.Hint.INTERACTING, -1); return false; diff --git a/src/ol/interaction/mousewheelzoom.js b/src/ol/interaction/mousewheelzoom.js index 6de7da4c1e..6b74cd1acd 100644 --- a/src/ol/interaction/mousewheelzoom.js +++ b/src/ol/interaction/mousewheelzoom.js @@ -223,7 +223,6 @@ ol.interaction.MouseWheelZoom.prototype.decrementInteractingHint_ = function() { this.trackpadTimeoutId_ = undefined; var view = this.getMap().getView(); view.setHint(ol.View.Hint.INTERACTING, -1); - view.changed(); // notify listeners of the hint change }; diff --git a/src/ol/interaction/pinchrotate.js b/src/ol/interaction/pinchrotate.js index fec785c726..3d3188ded7 100644 --- a/src/ol/interaction/pinchrotate.js +++ b/src/ol/interaction/pinchrotate.js @@ -157,7 +157,6 @@ ol.interaction.PinchRotate.handleDownEvent_ = function(mapBrowserEvent) { if (!this.handlingDownUpSequence) { map.getView().setHint(ol.View.Hint.INTERACTING, 1); } - map.render(); return true; } else { return false; diff --git a/src/ol/interaction/pinchzoom.js b/src/ol/interaction/pinchzoom.js index af625df117..ac0bc45f3a 100644 --- a/src/ol/interaction/pinchzoom.js +++ b/src/ol/interaction/pinchzoom.js @@ -140,7 +140,6 @@ ol.interaction.PinchZoom.handleDownEvent_ = function(mapBrowserEvent) { if (!this.handlingDownUpSequence) { map.getView().setHint(ol.View.Hint.INTERACTING, 1); } - map.render(); return true; } else { return false; diff --git a/src/ol/view.js b/src/ol/view.js index 0f6fdd1eea..5b5ef4550f 100644 --- a/src/ol/view.js +++ b/src/ol/view.js @@ -280,7 +280,6 @@ ol.View.prototype.cancelAnimations = function() { } } this.animations_.length = 0; - this.changed(); // notify that the hint changed }; /**