mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MapImageLayer.cs
This commit is contained in:
parent
208f3ced65
commit
b29d4a7e44
|
|
@ -190,7 +190,6 @@ namespace MapControl
|
||||||
var y = (ParentMap.ActualHeight - height) / 2d;
|
var y = (ParentMap.ActualHeight - height) / 2d;
|
||||||
|
|
||||||
boundingBox = ParentMap.ViewRectToBoundingBox(new Rect(x, y, width, height));
|
boundingBox = ParentMap.ViewRectToBoundingBox(new Rect(x, y, width, height));
|
||||||
|
|
||||||
image = await GetImageAsync(boundingBox, loadingProgress);
|
image = await GetImageAsync(boundingBox, loadingProgress);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue