From 409ce889cd0eb644778d929f69a94e0bfa54855d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 10 Nov 2018 00:19:51 +0100 Subject: [PATCH] Added support for online PBF maps (https://maps.tilehosting.com) --- src/map/tileloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/tileloader.cpp b/src/map/tileloader.cpp index 87ff10d1..9a33fe16 100644 --- a/src/map/tileloader.cpp +++ b/src/map/tileloader.cpp @@ -6,7 +6,7 @@ static bool loadTileFile(Tile &tile, const QString &file) { - if (!tile.pixmap().load(file)) { + if (!tile.pixmap().load(file, tile.zoom().toString().toLatin1())) { qWarning("%s: error loading tile file", qPrintable(file)); return false; }