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

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);