This commit is contained in:
ClemensFischer 2025-01-27 19:30:02 +01:00
parent 381dca48ce
commit ff8a81e087
3 changed files with 4 additions and 3 deletions

View file

@ -172,7 +172,7 @@ namespace MapControl
// beta = atan(dlon,dy)
// sec(beta) = 1 / cos(atan(dlon,dy)) = sqrt(1 + (dlon/dy)^2)
//
var sec = Math.Sqrt(1d + dlon * dlon / (dy * dy));
const double secLimit = 1000d; // beta approximately +/-90°