mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
TileImageLoader
This commit is contained in:
parent
115525cbfc
commit
b3d147bf5e
4 changed files with 12 additions and 7 deletions
|
|
@ -21,8 +21,9 @@ namespace MapControl
|
|||
{
|
||||
var image = await loadImageFunc();
|
||||
|
||||
tcs.TrySetResult(); // tcs.Task has completed when image is loaded
|
||||
|
||||
tile.SetImageSource(image);
|
||||
tcs.TrySetResult();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue