mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Removed CenteredBoundingBox
This commit is contained in:
parent
7f67e6fe17
commit
2817ecda7d
9 changed files with 19 additions and 75 deletions
|
|
@ -35,11 +35,6 @@ namespace MapControl
|
|||
public double West { get; }
|
||||
public double East { get; }
|
||||
|
||||
public virtual double Width => East - West;
|
||||
public virtual double Height => North - South;
|
||||
|
||||
public virtual Location Center => new Location((South + North) / 2d, (West + East) / 2d);
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format(CultureInfo.InvariantCulture, "{0},{1},{2},{3}", South, West, North, East);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue