mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MBTileSource.cs
This commit is contained in:
parent
468a34dc1e
commit
ec53c50c67
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue