mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Primary constructor parameters
This commit is contained in:
parent
f63fba98c1
commit
65462697df
8 changed files with 35 additions and 31 deletions
|
|
@ -14,11 +14,11 @@ namespace MapControl
|
|||
{
|
||||
public abstract class Tile(int zoomLevel, int x, int y, int columnCount)
|
||||
{
|
||||
public int ZoomLevel { get; } = zoomLevel;
|
||||
public int X { get; } = x;
|
||||
public int Y { get; } = y;
|
||||
public int ZoomLevel => zoomLevel;
|
||||
public int X => x;
|
||||
public int Y => y;
|
||||
public int Row => y;
|
||||
public int Column { get; } = ((x % columnCount) + columnCount) % columnCount;
|
||||
public int Row => Y;
|
||||
|
||||
public bool IsPending { get; set; } = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue