Moved EquatorialRadius property to MapProjection

This commit is contained in:
ClemensFischer 2026-01-24 14:58:16 +01:00
parent aaa69a3c03
commit d71d6c6e01
14 changed files with 53 additions and 70 deletions

View file

@ -35,12 +35,12 @@ namespace MapControl
public override Point? LocationToMap(double latitude, double longitude)
{
return new Point(Wgs84MeterPerDegree * longitude, Wgs84MeterPerDegree * latitude);
return new Point(MeterPerDegree * longitude, MeterPerDegree * latitude);
}
public override Location MapToLocation(double x, double y)
{
return new Location(y / Wgs84MeterPerDegree, x / Wgs84MeterPerDegree);
return new Location(y / MeterPerDegree, x / MeterPerDegree);
}
}
}