2025-02-27 18:46:32 +01:00
|
|
|
|
#if WPF
|
2020-03-20 18:12:56 +01:00
|
|
|
|
using System.Windows;
|
2025-08-19 19:43:02 +02:00
|
|
|
|
#elif AVALONIA
|
|
|
|
|
|
using Avalonia;
|
2020-03-20 18:12:56 +01:00
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
namespace MapControl
|
|
|
|
|
|
{
|
2025-09-15 17:46:31 +02:00
|
|
|
|
public class WmtsTileMatrix(
|
2025-10-29 18:59:19 +01:00
|
|
|
|
string identifier, double scale, Point topLeft,
|
2025-09-15 17:46:31 +02:00
|
|
|
|
int tileWidth, int tileHeight, int matrixWidth, int matrixHeight)
|
2020-03-20 18:12:56 +01:00
|
|
|
|
{
|
2025-09-15 17:46:31 +02:00
|
|
|
|
public string Identifier { get; } = identifier;
|
2025-10-29 18:59:19 +01:00
|
|
|
|
public double Scale { get; } = scale;
|
2025-09-15 17:46:31 +02:00
|
|
|
|
public Point TopLeft { get; } = topLeft;
|
|
|
|
|
|
public int TileWidth { get; } = tileWidth;
|
|
|
|
|
|
public int TileHeight { get; } = tileHeight;
|
|
|
|
|
|
public int MatrixWidth { get; } = matrixWidth;
|
|
|
|
|
|
public int MatrixHeight { get; } = matrixHeight;
|
2020-03-20 18:12:56 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|