Fix direction of rotation in coordinate to pixel matrix
This commit is contained in:
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user