From c84049bf8259b87dbe8d0f7ad7d903ab6eec4153 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Wed, 23 Nov 2022 17:14:07 +0100 Subject: [PATCH] Update MapTileLayer.cs --- MapControl/Shared/MapTileLayer.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MapControl/Shared/MapTileLayer.cs b/MapControl/Shared/MapTileLayer.cs index 3377e175..c2a931ca 100644 --- a/MapControl/Shared/MapTileLayer.cs +++ b/MapControl/Shared/MapTileLayer.cs @@ -136,10 +136,7 @@ namespace MapControl { if (TileSource != TileImageLoader.TileSource) { - if (Tiles.Count > 0) - { - Tiles = new TileCollection(); // clear all - } + Tiles = new TileCollection(); // clear all update = true; }