Added MapProjectionFactory

This commit is contained in:
Clemens 2022-01-19 16:43:00 +01:00
parent 67b87acb44
commit e2fcc1db2c
12 changed files with 87 additions and 17 deletions

View file

@ -15,11 +15,13 @@ namespace MapControl
/// </summary>
public class WebMercatorProjection : MapProjection
{
public const string DefaultCrsId = "EPSG:3857";
private static readonly double maxLatitude = YToLatitude(180d);
public WebMercatorProjection()
{
CrsId = "EPSG:3857";
CrsId = DefaultCrsId;
}
public override bool IsNormalCylindrical