mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
Updated MapProjections
This commit is contained in:
parent
c6c597a142
commit
544ac32ee3
5 changed files with 129 additions and 112 deletions
|
|
@ -16,15 +16,15 @@ namespace MapControl.Projections
|
|||
/// </summary>
|
||||
public class PolarStereographicProjection : MapProjection
|
||||
{
|
||||
public static double ConvergenceTolerance = 1e-6;
|
||||
public static int MaxIterations = 10;
|
||||
public static double ConvergenceTolerance { get; set; } = 1e-6;
|
||||
public static int MaxIterations { get; set; } = 10;
|
||||
|
||||
private readonly bool north;
|
||||
private readonly double scaleFactor;
|
||||
private readonly double falseEasting;
|
||||
private readonly double falseNorthing;
|
||||
|
||||
public PolarStereographicProjection(string crsId, bool north, double scaleFactor = 1d, double falseEasting = 0d, double falseNorthing = 0d)
|
||||
public PolarStereographicProjection(string crsId, bool north, double scaleFactor, double falseEasting, double falseNorthing)
|
||||
{
|
||||
CrsId = crsId;
|
||||
this.north = north;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue