mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +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
|
|
@ -19,7 +19,13 @@ namespace MapControl
|
|||
{
|
||||
public const string DefaultCrsId = "EPSG:4326";
|
||||
|
||||
public EquirectangularProjection(string crsId = DefaultCrsId)
|
||||
public EquirectangularProjection()
|
||||
: this(DefaultCrsId)
|
||||
{
|
||||
// XAML needs parameterless constructor
|
||||
}
|
||||
|
||||
public EquirectangularProjection(string crsId)
|
||||
{
|
||||
Type = MapProjectionType.NormalCylindrical;
|
||||
CrsId = crsId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue