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