Fix direction of rotation in coordinate to pixel matrix

This commit is contained in:
Tom Payne committed 2012-08-14 09:37:16 +02:00
1 parent d9009eae10
commit 477dc0b92b
1 file changed
+1 -1
+1 -1
View File
@@ -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);