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

@ -30,7 +30,7 @@ namespace MapControl
public override Point RelativeScale(double latitude, double longitude)
{
var k = ScaleFactor(latitude);
var k = RelativeScale(latitude);
return new Point(k, k);
}
@ -49,7 +49,7 @@ namespace MapControl
x / Wgs84MeterPerDegree);
}
public static double ScaleFactor(double latitude)
public static double RelativeScale(double latitude)
{
var phi = latitude * Math.PI / 180d;
var eSinPhi = Wgs84Eccentricity * Math.Sin(phi);