diff --git a/MapControl/Shared/MapTileLayer.cs b/MapControl/Shared/MapTileLayer.cs index 79c832fc..955c8491 100644 --- a/MapControl/Shared/MapTileLayer.cs +++ b/MapControl/Shared/MapTileLayer.cs @@ -119,7 +119,7 @@ namespace MapControl TileMatrix = null; Children.Clear(); - CancelLoadTilesAsync(); + CancelLoadTiles(); } else if (SetTileMatrix() || resetTiles) { diff --git a/MapControl/Shared/MapTileLayerBase.cs b/MapControl/Shared/MapTileLayerBase.cs index 4681579f..668ed113 100644 --- a/MapControl/Shared/MapTileLayerBase.cs +++ b/MapControl/Shared/MapTileLayerBase.cs @@ -196,7 +196,7 @@ namespace MapControl return TileImageLoader.LoadTilesAsync(tiles, TileSource, cacheName, loadingProgress); } - protected void CancelLoadTilesAsync() + protected void CancelLoadTiles() { TileImageLoader.CancelLoadTiles(); diff --git a/MapControl/Shared/WmtsTileLayer.cs b/MapControl/Shared/WmtsTileLayer.cs index 5a2cc526..6b7b2cc0 100644 --- a/MapControl/Shared/WmtsTileLayer.cs +++ b/MapControl/Shared/WmtsTileLayer.cs @@ -101,7 +101,7 @@ namespace MapControl { Children.Clear(); - CancelLoadTilesAsync(); + CancelLoadTiles(); } else if (UpdateChildLayers(tileMatrixSet)) {