Updated MapProjection

This commit is contained in:
ClemensFischer 2025-12-30 00:26:08 +01:00
parent 0d556e6b14
commit 5d8f1b5ff0
3 changed files with 11 additions and 7 deletions

View file

@ -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);