mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 22:46:58 +00:00
Reverted to not awaitable TileImageLoader
This commit is contained in:
parent
775d584df7
commit
178cec8e66
5 changed files with 68 additions and 66 deletions
|
|
@ -2,7 +2,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
#if WPF
|
||||
using System.Windows;
|
||||
#elif UWP
|
||||
|
|
@ -92,7 +91,7 @@ namespace MapControl
|
|||
return finalSize;
|
||||
}
|
||||
|
||||
protected override async Task UpdateTileLayerAsync(bool resetTiles)
|
||||
protected override void UpdateTileLayerAsync(bool resetTiles)
|
||||
{
|
||||
// resetTiles is ignored here because it is always false.
|
||||
|
||||
|
|
@ -121,7 +120,7 @@ namespace MapControl
|
|||
|
||||
var tiles = ChildLayers.SelectMany(layer => layer.Tiles);
|
||||
|
||||
await LoadTilesAsync(tiles, cacheName);
|
||||
LoadTiles(tiles, cacheName);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue