[android] #5479 - apply preRotate instead of postRotate for a correct transformation

This commit is contained in:
Tobrun
2016-06-25 09:57:20 +02:00
parent 64da7fa684
commit 76f9c1ac02

View File

@@ -269,7 +269,7 @@ public class MyLocationView extends View {
//
if (myBearingTrackingMode != MyBearingTracking.NONE && directionAnimator != null) {
matrix.postRotate((Float) directionAnimator.getAnimatedValue());
matrix.preRotate((Float) directionAnimator.getAnimatedValue());
}
// put matrix at location of MyLocationView