mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Minor improvements
This commit is contained in:
parent
fe1ac924b4
commit
7b69215a30
3 changed files with 17 additions and 11 deletions
|
|
@ -10,7 +10,7 @@ using System.Windows;
|
|||
namespace MapControl
|
||||
{
|
||||
/// <summary>
|
||||
/// Map rectangle with double floating point precision, unlike Windows.Foundation.Rect does.
|
||||
/// Map rectangle with double floating point precision, in contrast to Windows.Foundation.Rect.
|
||||
/// Used by MapProjection to convert geodetic bounding boxes to/from projected map coordinates.
|
||||
/// </summary>
|
||||
public class MapRect
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace MapControl
|
||||
{
|
||||
public struct Scale
|
||||
public readonly struct Scale
|
||||
{
|
||||
public Scale(double x, double y)
|
||||
{
|
||||
|
|
@ -12,8 +12,8 @@ namespace MapControl
|
|||
Y = y;
|
||||
}
|
||||
|
||||
public double X { get; set; }
|
||||
public double Y { get; set; }
|
||||
public double X { get; }
|
||||
public double Y { get; }
|
||||
|
||||
public static Scale operator *(double f, Scale v)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue