Revert "Do not render in handleDownEvent"

This commit is contained in:
Frédéric Junod
2016-01-19 15:26:10 +01:00
parent 1ad3d4e764
commit eb395894e1
7 changed files with 12 additions and 0 deletions
@@ -88,6 +88,7 @@ ol.interaction.DragRotateAndZoom.handleDragEvent_ = function(mapBrowserEvent) {
var theta = Math.atan2(delta.y, delta.x);
var magnitude = delta.magnitude();
var view = map.getView();
map.render();
if (this.lastAngle_ !== undefined) {
var angleDelta = theta - this.lastAngle_;
ol.interaction.Interaction.rotateWithoutConstraints(