mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-07 23:45:05 +00:00
Added MapProjectionFactory
This commit is contained in:
parent
67b87acb44
commit
e2fcc1db2c
12 changed files with 87 additions and 17 deletions
|
|
@ -15,6 +15,8 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public class WorldMercatorProjection : MapProjection
|
||||
{
|
||||
public const string DefaultCrsId = "EPSG:3395";
|
||||
|
||||
public static double ConvergenceTolerance { get; set; } = 1e-6;
|
||||
public static int MaxIterations { get; set; } = 10;
|
||||
|
||||
|
|
@ -22,7 +24,7 @@ namespace MapControl
|
|||
|
||||
public WorldMercatorProjection()
|
||||
{
|
||||
CrsId = "EPSG:3395";
|
||||
CrsId = DefaultCrsId;
|
||||
}
|
||||
|
||||
public override bool IsNormalCylindrical
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue