mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
BoundingBox now immutable
This commit is contained in:
parent
dc9932a0cf
commit
2685792758
8 changed files with 61 additions and 105 deletions
|
|
@ -71,7 +71,7 @@ namespace MapControl
|
|||
{
|
||||
MapRect mapRect = null;
|
||||
|
||||
if (boundingBox.HasValidBounds)
|
||||
if (boundingBox.South < boundingBox.North && boundingBox.West < boundingBox.East)
|
||||
{
|
||||
var p1 = LocationToMap(new Location(boundingBox.South, boundingBox.West));
|
||||
var p2 = LocationToMap(new Location(boundingBox.North, boundingBox.East));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue