Version 4.12. Revised projections

This commit is contained in:
ClemensF 2018-12-20 21:55:12 +01:00
parent 8cafe207cb
commit 90aa92def0
25 changed files with 390 additions and 167 deletions

View file

@ -2,6 +2,8 @@
// © 2018 Clemens Fischer
// Licensed under the Microsoft Public License (Ms-PL)
using System;
namespace MapControl
{
public class CenteredBoundingBox : BoundingBox
@ -12,8 +14,8 @@ namespace MapControl
public CenteredBoundingBox(Location center, double width, double height)
{
Center = center;
this.width = width;
this.height = height;
this.width = Math.Max(width, 0d);
this.height = Math.Max(height, 0d);
}
public Location Center { get; private set; }