mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Reverted new() expressions
This commit is contained in:
parent
264f751d4e
commit
107b8e0f90
8 changed files with 52 additions and 23 deletions
|
|
@ -52,12 +52,12 @@ namespace MapControl
|
|||
/// <summary>
|
||||
/// Gets or sets an optional projection center.
|
||||
/// </summary>
|
||||
public virtual Location Center { get; protected internal set; } = new();
|
||||
public virtual Location Center { get; protected internal set; } = new Location();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the relative map scale at the specified Location.
|
||||
/// </summary>
|
||||
public virtual Point GetRelativeScale(Location location) => new(1d, 1d);
|
||||
public virtual Point GetRelativeScale(Location location) => new Point(1d, 1d);
|
||||
|
||||
/// <summary>
|
||||
/// Transforms a Location in geographic coordinates to a Point in projected map coordinates.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue