mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Minor updates
This commit is contained in:
parent
43c33c2564
commit
8610f77899
2 changed files with 4 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue