From 92adc6b5a65a37a50b63c344522466218d32e080 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Sun, 3 Aug 2025 17:29:40 +0200 Subject: [PATCH] Update WmtsTileSource.cs --- MapControl/Shared/WmtsTileSource.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MapControl/Shared/WmtsTileSource.cs b/MapControl/Shared/WmtsTileSource.cs index cbed55be..bcaaeb3f 100644 --- a/MapControl/Shared/WmtsTileSource.cs +++ b/MapControl/Shared/WmtsTileSource.cs @@ -11,8 +11,8 @@ namespace MapControl Uri uri = null; if (UriTemplate != null && - TileMatrixSet != null && TileMatrixSet.TileMatrixes.Count > zoomLevel && - column >= 0 && row >= 0 && zoomLevel >= 0) + TileMatrixSet != null && + TileMatrixSet.TileMatrixes.Count > zoomLevel) { uri = new Uri(UriTemplate .Replace("{TileMatrixSet}", TileMatrixSet.Identifier)