Minor updates

This commit is contained in:
ClemensF 2020-04-03 16:46:22 +02:00
parent 43c33c2564
commit 8610f77899
2 changed files with 4 additions and 5 deletions

View file

@ -100,7 +100,7 @@ namespace MapControl
var viewPos = LocationToView(Location);
var scale = parentMap.GetScale(Location);
var transform = new Matrix(scale.X, 0d, 0d, scale.Y, 0d, 0d);
transform.Rotate(parentMap.Heading);
transform.Rotate(parentMap.ViewTransform.Rotation);
transform.Translate(viewPos.X, viewPos.Y);
dataTransform.Matrix = transform;
}