Fixed TileSource (14.2.0)

This commit is contained in:
ClemensFischer 2025-11-14 15:02:48 +01:00
parent ef7849948e
commit 36883a8d9d
6 changed files with 49 additions and 20 deletions

View file

@ -165,7 +165,7 @@ namespace MapControl
}
else if (uri.Scheme != "http" && uri.Scheme != "https" || string.IsNullOrEmpty(cacheName))
{
await tile.LoadImageAsync(() => ImageLoader.LoadImageAsync(uri)).ConfigureAwait(false);
await tile.LoadImageAsync(() => tileSource.LoadImageAsync(uri)).ConfigureAwait(false);
}
else
{
@ -173,7 +173,7 @@ namespace MapControl
if (buffer != null)
{
await tile.LoadImageAsync(() => ImageLoader.LoadImageAsync(buffer)).ConfigureAwait(false);
await tile.LoadImageAsync(() => tileSource.LoadImageAsync(buffer)).ConfigureAwait(false);
}
}
}