mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
GroundOverlay performance
This commit is contained in:
parent
0f048e2073
commit
9e33282d07
3 changed files with 22 additions and 17 deletions
|
|
@ -29,7 +29,7 @@ namespace MapControl
|
|||
|
||||
public static Task<ImageSource> LoadImageAsync(Stream stream)
|
||||
{
|
||||
return Task.FromResult(LoadImage(stream));
|
||||
return Task.Run(() => LoadImage(stream));
|
||||
}
|
||||
|
||||
public static async Task<ImageSource> LoadImageAsync(string path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue