Do not render in handleDownEvent

This commit is contained in:
Andreas Hocevar
2015-12-18 18:21:32 +01:00
parent dad58ba622
commit 552063aeac
7 changed files with 0 additions and 12 deletions
@@ -73,7 +73,6 @@ ol.interaction.DragRotate.handleDragEvent_ = function(mapBrowserEvent) {
var delta = theta - this.lastAngle_;
var view = map.getView();
var rotation = view.getRotation();
map.render();
ol.interaction.Interaction.rotateWithoutConstraints(
map, view, rotation - delta);
}
@@ -117,7 +116,6 @@ ol.interaction.DragRotate.handleDownEvent_ = function(mapBrowserEvent) {
if (browserEvent.isMouseActionButton() && this.condition_(mapBrowserEvent)) {
var map = mapBrowserEvent.map;
map.getView().setHint(ol.ViewHint.INTERACTING, 1);
map.render();
this.lastAngle_ = undefined;
return true;
} else {