Fix direction of rotation in coordinate to pixel matrix

This commit is contained in:
Tom Payne
2012-08-14 09:37:16 +02:00
parent d9009eae10
commit 477dc0b92b
+1 -1
View File
@@ -966,7 +966,7 @@ ol.Map.prototype.updateMatrices_ = function() {
1); 1);
if (this.canRotate() && goog.isDef(rotation)) { if (this.canRotate() && goog.isDef(rotation)) {
goog.vec.Mat4.rotate(this.coordinateToPixelMatrix_, goog.vec.Mat4.rotate(this.coordinateToPixelMatrix_,
rotation, -rotation,
0, 0,
0, 0,
1); 1);