mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Update TileImageLoader
This commit is contained in:
parent
12e5d75ba9
commit
6d359a5a91
4 changed files with 9 additions and 20 deletions
|
|
@ -149,7 +149,7 @@ namespace MapControl
|
|||
{
|
||||
if (string.IsNullOrEmpty(cacheName))
|
||||
{
|
||||
return LoadTile(tile, tileSource);
|
||||
return LoadTile(tile, () => tileSource.LoadImageAsync(tile.XIndex, tile.Y, tile.ZoomLevel));
|
||||
}
|
||||
|
||||
var uri = tileSource.GetUri(tile.XIndex, tile.Y, tile.ZoomLevel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue