TileImageLoader

This commit is contained in:
ClemensFischer 2025-11-13 19:25:11 +01:00
parent 76f920a053
commit b44018ac8f
2 changed files with 37 additions and 32 deletions

View file

@ -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);
}