Fixed MBTileSource

This commit is contained in:
ClemensFischer 2025-11-13 17:40:29 +01:00
parent 4912fa1e40
commit 76f920a053
2 changed files with 4 additions and 4 deletions

View file

@ -159,7 +159,7 @@ namespace MapControl
{
var buffer = await LoadCachedBuffer(tile, uri, cacheName).ConfigureAwait(false);
if (buffer?.Length > 0)
if (buffer != null)
{
await tile.LoadImageAsync(() => ImageLoader.LoadImageAsync(buffer)).ConfigureAwait(false);
}