View2D NoConstraint methods renamed

This commit is contained in:
Éric Lemoine
2013-03-05 12:51:03 +01:00
parent 29e610b9f3
commit b884f2f25d
4 changed files with 9 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ ol.interaction.DragRotate.prototype.handleDrag = function(mapBrowserEvent) {
// FIXME supports View2D only
goog.asserts.assert(view instanceof ol.View2D);
map.requestRenderFrame();
view.rotateNoConstraint(map, view.getRotation() - delta);
view.rotateWithoutConstraints(map, view.getRotation() - delta);
}
this.lastAngle_ = theta;
};