mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Added Ed50UtmProjection
This commit is contained in:
parent
0896209e22
commit
a0ee9ebbd1
2 changed files with 57 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ namespace MapControl.Projections
|
|||
{
|
||||
public const int WorldMercator = 3395;
|
||||
public const int WebMercator = 3857;
|
||||
public const int Ed50UtmFirst = 23028;
|
||||
public const int Ed50UtmLast = 23038;
|
||||
public const int Etrs89UtmFirst = 25828;
|
||||
public const int Etrs89UtmLast = 25838;
|
||||
public const int Wgs84UtmNorthFirst = 32601;
|
||||
|
|
@ -33,6 +35,10 @@ namespace MapControl.Projections
|
|||
projection = new WebMercatorProjection();
|
||||
break;
|
||||
|
||||
case int c when c >= Ed50UtmFirst && c <= Ed50UtmLast:
|
||||
projection = new Ed50UtmProjection(epsgCode % 100);
|
||||
break;
|
||||
|
||||
case int c when c >= Etrs89UtmFirst && c <= Etrs89UtmLast:
|
||||
projection = new Etrs89UtmProjection(epsgCode % 100);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue