mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MapPanel.cs
This commit is contained in:
parent
16d7c21ffa
commit
5645f8f0e8
|
|
@ -185,7 +185,12 @@ namespace MapControl
|
|||
|
||||
if (boundingBox != null)
|
||||
{
|
||||
ArrangeElement(element, GetViewRect(boundingBox));
|
||||
var viewRect = GetViewRect(boundingBox);
|
||||
|
||||
if (viewRect != null)
|
||||
{
|
||||
ArrangeElement(element, viewRect);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue