Update Tile class

This commit is contained in:
ClemensFischer 2022-11-19 23:59:17 +01:00
parent 5c17a1c36f
commit 44ba57e92b
4 changed files with 6 additions and 6 deletions

View file

@ -235,7 +235,7 @@ namespace MapControl
tile = new Tile(z, x, y);
var equivalentTile = Tiles.FirstOrDefault(
t => !t.Pending && t.ZoomLevel == z && t.Y == y && t.XIndex == tile.XIndex);
t => t.IsLoaded && t.ZoomLevel == z && t.Y == y && t.XIndex == tile.XIndex);
if (equivalentTile != null)
{