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
|
|
@ -17,7 +17,13 @@ namespace MapControl
|
|||
{
|
||||
public const string DefaultCrsId = "EPSG:3857";
|
||||
|
||||
public WebMercatorProjection(string crsId = DefaultCrsId)
|
||||
public WebMercatorProjection()
|
||||
: this(DefaultCrsId)
|
||||
{
|
||||
// XAML needs parameterless constructor
|
||||
}
|
||||
|
||||
public WebMercatorProjection(string crsId)
|
||||
{
|
||||
Type = MapProjectionType.WebMercator;
|
||||
CrsId = crsId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue