diff --git a/MapControl/Shared/MapTileLayer.cs b/MapControl/Shared/MapTileLayer.cs index 4930dd38..7da636b8 100644 --- a/MapControl/Shared/MapTileLayer.cs +++ b/MapControl/Shared/MapTileLayer.cs @@ -57,7 +57,7 @@ namespace MapControl public TileMatrix TileMatrix { get; private set; } - public ImageTileList Tiles { get; private set; } = []; + public ICollection Tiles { get; private set; } = []; /// /// Minimum zoom level supported by the MapTileLayer. Default value is 0. diff --git a/MapControl/Shared/WmtsTileMatrixLayer.cs b/MapControl/Shared/WmtsTileMatrixLayer.cs index b927d383..550abd11 100644 --- a/MapControl/Shared/WmtsTileMatrixLayer.cs +++ b/MapControl/Shared/WmtsTileMatrixLayer.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; #if WPF using System.Windows; using System.Windows.Controls; @@ -34,7 +35,7 @@ namespace MapControl public TileMatrix TileMatrix { get; private set; } - public ImageTileList Tiles { get; private set; } = []; + public IEnumerable Tiles { get; private set; } = []; public void UpdateRenderTransform(ViewTransform viewTransform) { diff --git a/MapControl/WPF/BitmapTileMatrixLayer.cs b/MapControl/WPF/BitmapTileMatrixLayer.cs index 5eff8cdf..a08e14bb 100644 --- a/MapControl/WPF/BitmapTileMatrixLayer.cs +++ b/MapControl/WPF/BitmapTileMatrixLayer.cs @@ -46,7 +46,7 @@ namespace MapControl public TileMatrix TileMatrix { get; private set; } = new TileMatrix(zoomLevel, 1, 1, 0, 0); - public List Tiles { get; private set; } = []; + public IEnumerable Tiles { get; private set; } = []; protected override void OnRender(DrawingContext drawingContext) {