From 5cb0880141fe4514ba7d7c32503eb8e40a35d16b Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Tue, 12 Aug 2025 23:05:29 +0200 Subject: [PATCH] Update MapBase.MapLayer.cs --- MapControl/Shared/MapBase.MapLayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapControl/Shared/MapBase.MapLayer.cs b/MapControl/Shared/MapBase.MapLayer.cs index b23f5a52..91c1dd66 100644 --- a/MapControl/Shared/MapBase.MapLayer.cs +++ b/MapControl/Shared/MapBase.MapLayer.cs @@ -175,7 +175,7 @@ namespace MapControl { Children.Insert(index, mapLayer); - if (index == 0) + if (index++ == 0) { MapLayer = mapLayer; }