diff --git a/src/ol/interaction/interaction.js b/src/ol/interaction/interaction.js index 789f9c0812..92196acc62 100644 --- a/src/ol/interaction/interaction.js +++ b/src/ol/interaction/interaction.js @@ -127,16 +127,12 @@ ol.interaction.Interaction.rotateWithoutConstraints = })); } } + goog.asserts.assertInstanceof(view, ol.View2D); if (goog.isDefAndNotNull(opt_anchor)) { var center = view.calculateCenterRotate(rotation, opt_anchor); - map.withFrozenRendering(function() { - goog.asserts.assertInstanceof(view, ol.View2D); - view.setCenter(center); - view.setRotation(rotation); - }); - } else { - view.setRotation(rotation); + view.setCenter(center); } + view.setRotation(rotation); } };