mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 22:46:58 +00:00
Parameterless constructors of projection classes
This commit is contained in:
parent
7637210211
commit
ece82bd654
10 changed files with 77 additions and 11 deletions
|
|
@ -119,7 +119,13 @@ namespace MapControl
|
|||
{
|
||||
public const string DefaultCrsId = "EPSG:32661";
|
||||
|
||||
public UpsNorthProjection(string crsId = DefaultCrsId)
|
||||
public UpsNorthProjection()
|
||||
: this(DefaultCrsId)
|
||||
{
|
||||
// XAML needs parameterless constructor
|
||||
}
|
||||
|
||||
public UpsNorthProjection(string crsId)
|
||||
{
|
||||
CrsId = crsId;
|
||||
IsNorth = true;
|
||||
|
|
@ -133,7 +139,13 @@ namespace MapControl
|
|||
{
|
||||
public const string DefaultCrsId = "EPSG:32761";
|
||||
|
||||
public UpsSouthProjection(string crsId = DefaultCrsId)
|
||||
public UpsSouthProjection()
|
||||
: this(DefaultCrsId)
|
||||
{
|
||||
// XAML needs parameterless constructor
|
||||
}
|
||||
|
||||
public UpsSouthProjection(string crsId)
|
||||
{
|
||||
CrsId = crsId;
|
||||
IsNorth = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue