mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-01-16 21:50:31 +01:00
Update TileImageLoader.cs
This commit is contained in:
parent
ee8530e5a3
commit
6fd637af1e
|
|
@ -122,6 +122,7 @@ namespace MapControl
|
|||
{
|
||||
tile = tileQueue.Dequeue();
|
||||
tile.IsPending = false;
|
||||
progress?.Report(1d - (double)tileQueue.Count / tileCount);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -146,8 +147,6 @@ namespace MapControl
|
|||
{
|
||||
Logger?.LogError(ex, "Failed loading tile {zoom}/{column}/{row}", tile.ZoomLevel, tile.Column, tile.Row);
|
||||
}
|
||||
|
||||
progress?.Report(1d - (double)tileQueue.Count / tileCount);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue