From 9e7ebe930e8742a1e248c9cc4fa1d4bfe202b39f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 28 Mar 2020 16:12:15 +0100 Subject: [PATCH] Do not rescale the map on tile cache reload (we do not reload the map parameters any more) --- src/GUI/mapview.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/GUI/mapview.cpp b/src/GUI/mapview.cpp index 5f592c4d..b2150b7e 100644 --- a/src/GUI/mapview.cpp +++ b/src/GUI/mapview.cpp @@ -451,10 +451,7 @@ void MapView::setCoordinatesFormat(CoordinatesFormat format) void MapView::clearMapCache() { _map->clearCache(); - - fitMapZoom(); - rescale(); - centerOn(contentCenter()); + reloadMap(); } void MapView::digitalZoom(int zoom)