mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
TileImageLoader
This commit is contained in:
parent
76f920a053
commit
b44018ac8f
2 changed files with 37 additions and 32 deletions
|
|
@ -19,10 +19,11 @@ namespace MapControl
|
|||
public int Y { get; } = y;
|
||||
public int Column { get; } = ((x % columnCount) + columnCount) % columnCount;
|
||||
public int Row => Y;
|
||||
|
||||
public bool IsPending { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Runs a tile image download Task and marshals the result to the UI thread.
|
||||
/// Runs a tile image download Task and passes the result to the UI thread.
|
||||
/// </summary>
|
||||
public abstract Task LoadImageAsync(Func<Task<ImageSource>> loadImageFunc);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue