mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Updated MapProjection
This commit is contained in:
parent
0d556e6b14
commit
5d8f1b5ff0
3 changed files with 11 additions and 7 deletions
|
|
@ -193,7 +193,11 @@ namespace MapControl
|
|||
var y = (ParentMap.ActualHeight - height) / 2d;
|
||||
|
||||
boundingBox = ParentMap.ViewRectToBoundingBox(x, y, width, height);
|
||||
image = await GetImageAsync(boundingBox, loadingProgress);
|
||||
|
||||
if (boundingBox != null)
|
||||
{
|
||||
image = await GetImageAsync(boundingBox, loadingProgress);
|
||||
}
|
||||
}
|
||||
|
||||
SwapImages(image, boundingBox);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue