MapProjection properties

This commit is contained in:
Clemens 2022-01-21 23:26:21 +01:00
parent 9a26fdaefc
commit e6b25c2f8d
7 changed files with 31 additions and 71 deletions

View file

@ -20,21 +20,11 @@ namespace MapControl
public static double ConvergenceTolerance { get; set; } = 1e-6;
public static int MaxIterations { get; set; } = 10;
private static readonly double maxLatitude = YToLatitude(180d);
public WorldMercatorProjection()
{
CrsId = DefaultCrsId;
}
public override bool IsNormalCylindrical
{
get { return true; }
}
public override double MaxLatitude
{
get { return maxLatitude; }
IsNormalCylindrical = true;
MaxLatitude = YToLatitude(180d);
}
public override Vector GetRelativeScale(Location location)