mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 06:26:41 +00:00
TileImageLoader
This commit is contained in:
parent
115525cbfc
commit
b3d147bf5e
4 changed files with 12 additions and 7 deletions
|
|
@ -14,7 +14,7 @@ namespace MapControl
|
|||
{
|
||||
var image = await loadImageFunc().ConfigureAwait(false);
|
||||
|
||||
await tile.Image.Dispatcher.InvokeAsync(() => tile.SetImageSource(image));
|
||||
_ = tile.Image.Dispatcher.InvokeAsync(() => tile.SetImageSource(image)); // no need to await InvokeAsync
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue