mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Update Tile class
This commit is contained in:
parent
5c17a1c36f
commit
44ba57e92b
4 changed files with 6 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ namespace MapControl
|
|||
private class TileQueue : ConcurrentStack<Tile>
|
||||
{
|
||||
public TileQueue(IEnumerable<Tile> tiles)
|
||||
: base(tiles.Where(tile => tile.Pending).Reverse())
|
||||
: base(tiles.Where(tile => !tile.IsLoaded).Reverse())
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ namespace MapControl
|
|||
return false;
|
||||
}
|
||||
|
||||
tile.Pending = false;
|
||||
tile.IsLoaded = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue