mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Updated ImageTileList
This commit is contained in:
parent
f24131415a
commit
0cbb85c7db
2 changed files with 4 additions and 5 deletions
|
|
@ -9,7 +9,7 @@ namespace MapControl
|
|||
{
|
||||
}
|
||||
|
||||
public ImageTileList(ImageTileList source, TileMatrix tileMatrix, int columnCount)
|
||||
public ImageTileList(IEnumerable<ImageTile> source, TileMatrix tileMatrix, int columnCount)
|
||||
{
|
||||
FillMatrix(source, tileMatrix.ZoomLevel, tileMatrix.XMin, tileMatrix.YMin, tileMatrix.XMax, tileMatrix.YMax, columnCount);
|
||||
}
|
||||
|
|
@ -17,7 +17,7 @@ namespace MapControl
|
|||
/// <summary>
|
||||
/// Adds existing ImageTile from the source collection or newly created ImageTile to fill the specified tile matrix.
|
||||
/// </summary>
|
||||
public void FillMatrix(ImageTileList source, int zoomLevel, int xMin, int yMin, int xMax, int yMax, int columnCount)
|
||||
public void FillMatrix(IEnumerable<ImageTile> source, int zoomLevel, int xMin, int yMin, int xMax, int yMax, int columnCount)
|
||||
{
|
||||
for (var y = yMin; y <= yMax; y++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue