mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +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
|
|
@ -54,7 +54,13 @@ namespace MapControl
|
|||
|
||||
private readonly string autoCrsId;
|
||||
|
||||
public Wgs84AutoUtmProjection(string crsId = DefaultCrsId)
|
||||
public Wgs84AutoUtmProjection()
|
||||
: this(DefaultCrsId)
|
||||
{
|
||||
// XAML needs parameterless constructor
|
||||
}
|
||||
|
||||
public Wgs84AutoUtmProjection(string crsId)
|
||||
: base(31, true)
|
||||
{
|
||||
autoCrsId = crsId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue