mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-09 00:14:51 +00:00
Reverted new() expressions
This commit is contained in:
parent
264f751d4e
commit
107b8e0f90
8 changed files with 52 additions and 23 deletions
|
|
@ -38,7 +38,7 @@ namespace MapControl
|
|||
public virtual double Width => East - West;
|
||||
public virtual double Height => North - South;
|
||||
|
||||
public virtual Location Center => new((South + North) / 2d, (West + East) / 2d);
|
||||
public virtual Location Center => new Location((South + North) / 2d, (West + East) / 2d);
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue