From b5b1400cef3f4b200ffbc73db3ccb57d4562f360 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Sun, 20 Nov 2022 09:09:23 +0100 Subject: [PATCH] Update MapTileLayer.cs --- MapControl/Shared/MapTileLayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapControl/Shared/MapTileLayer.cs b/MapControl/Shared/MapTileLayer.cs index d23cbd7b..b90ab83d 100644 --- a/MapControl/Shared/MapTileLayer.cs +++ b/MapControl/Shared/MapTileLayer.cs @@ -228,7 +228,7 @@ namespace MapControl { for (var x = x1; x <= x2; x++) { - var tile = Tiles.FirstOrDefault(t => t.ZoomLevel == z && t.X == x && t.Y == y); + var tile = Tiles.FirstOrDefault(t => t.ZoomLevel == z && t.Y == y && t.X == x); if (tile == null) {