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 WebMercatorProjection : MapProjection
{
public const int EpsgCode = 3857;
public const string DefaultCrsId = "EPSG:3857";
public WebMercatorProjection(string crsId = "EPSG:3857")
public WebMercatorProjection(string crsId = DefaultCrsId)
{
Type = MapProjectionType.WebMercator;
CrsId = crsId;