Code style

This commit is contained in:
ClemensFischer 2025-09-19 18:48:05 +02:00
parent f897ce3d36
commit 046cebb341
8 changed files with 9 additions and 9 deletions

View file

@ -44,12 +44,12 @@ namespace MapControl
/// <summary>
/// Gets or sets an optional projection center.
/// </summary>
public virtual Location Center { get; protected internal set; } = new Location();
public virtual Location Center { get; protected internal set; } = new();
/// <summary>
/// Gets the relative map scale at the specified Location.
/// </summary>
public virtual Point GetRelativeScale(Location location) => new Point(1d, 1d);
public virtual Point GetRelativeScale(Location location) => new(1d, 1d);
/// <summary>
/// Transforms a Location in geographic coordinates to a Point in projected map coordinates.