mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Updated TileMatrix
This commit is contained in:
parent
0b96b51c1e
commit
264f751d4e
4 changed files with 9 additions and 5 deletions
|
|
@ -10,6 +10,7 @@ namespace MapControl
|
|||
}
|
||||
|
||||
public ImageTileList(IEnumerable<ImageTile> source, TileMatrix tileMatrix, int columnCount)
|
||||
: base(tileMatrix.Width * tileMatrix.Height)
|
||||
{
|
||||
FillMatrix(source, tileMatrix.ZoomLevel, tileMatrix.XMin, tileMatrix.YMin, tileMatrix.XMax, tileMatrix.YMax, columnCount);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,5 +7,7 @@
|
|||
public int YMin => yMin;
|
||||
public int XMax => xMax;
|
||||
public int YMax => yMax;
|
||||
public int Width => xMax - xMin + 1;
|
||||
public int Height => yMax - yMin + 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue