Correct comments

This commit is contained in:
ClemensFischer 2025-11-21 15:52:38 +01:00
parent 0cbb85c7db
commit 2028e3cf90
4 changed files with 7 additions and 11 deletions

View file

@ -153,7 +153,7 @@ namespace MapControl
var tileMatrixZoomLevel = (int)Math.Floor(ParentMap.ZoomLevel - ZoomLevelOffset + 0.001);
var tileMatrixScale = MapBase.ZoomLevelToScale(tileMatrixZoomLevel);
// Bounds in tile pixels from view size.
// Tile matrix bounds in pixels.
//
var bounds = ParentMap.ViewTransform.GetTileMatrixBounds(tileMatrixScale, MapTopLeft, ParentMap.ActualWidth, ParentMap.ActualHeight);

View file

@ -123,7 +123,7 @@ namespace MapControl
}
/// <summary>
/// Gets the index bounds of a tile matrix.
/// Gets the pixel bounds of a tile matrix.
/// </summary>
public Rect GetTileMatrixBounds(double tileMatrixScale, Point tileMatrixTopLeft, double viewWidth, double viewHeight)
{

View file

@ -48,7 +48,7 @@ namespace MapControl
public bool UpdateTiles(ViewTransform viewTransform, double viewWidth, double viewHeight)
{
// Bounds in tile pixels from view size.
// Tile matrix bounds in pixels.
//
var bounds = viewTransform.GetTileMatrixBounds(WmtsTileMatrix.Scale, WmtsTileMatrix.TopLeft, viewWidth, viewHeight);