EPSG Codes & CRS IDs

This commit is contained in:
ClemensFischer 2024-07-12 14:14:42 +02:00
parent ce6f190bf1
commit 03c18d5126
9 changed files with 66 additions and 72 deletions

View file

@ -15,9 +15,9 @@ namespace MapControl
/// </summary>
public class WorldMercatorProjection : MapProjection
{
public const int EpsgCode = 3395;
public const string DefaultCrsId = "EPSG:3395";
public WorldMercatorProjection(string crsId = "EPSG:3395")
public WorldMercatorProjection(string crsId = DefaultCrsId)
{
Type = MapProjectionType.NormalCylindrical;
CrsId = crsId;