Update MBTileSource.cs

This commit is contained in:
ClemensFischer 2025-08-31 18:51:50 +02:00
parent 468a34dc1e
commit ec53c50c67

View file

@ -73,7 +73,7 @@ namespace MapControl.MBTiles
var buffer = (byte[])await command.ExecuteScalarAsync();
if (buffer != null)
if (buffer != null && buffer.Length > 0)
{
image = await LoadImageAsync(buffer);
}