Updated map projections

This commit is contained in:
ClemensFischer 2026-01-15 10:58:54 +01:00
parent d6cdd5dc38
commit 5334bb4ea6
4 changed files with 35 additions and 54 deletions

View file

@ -202,7 +202,7 @@ namespace MapControl
/// </summary>
public Matrix GetMapTransform(Location location)
{
var mapScale = GetMapScale(location);
var mapScale = GetMapScale(location.Latitude, location.Longitude);
var transform = new Matrix(mapScale.X, 0d, 0d, mapScale.Y, 0d, 0d);
transform.Rotate(ViewTransform.Rotation);