From 477dc0b92b54d21f6aa6f806bfbf4a7230a252ab Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Tue, 14 Aug 2012 09:37:16 +0200 Subject: [PATCH] Fix direction of rotation in coordinate to pixel matrix --- src/ol/base/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/base/map.js b/src/ol/base/map.js index 8bc070dcc8..3cf02f037d 100644 --- a/src/ol/base/map.js +++ b/src/ol/base/map.js @@ -966,7 +966,7 @@ ol.Map.prototype.updateMatrices_ = function() { 1); if (this.canRotate() && goog.isDef(rotation)) { goog.vec.Mat4.rotate(this.coordinateToPixelMatrix_, - rotation, + -rotation, 0, 0, 1);