From 0816724630d6660e1fb71596e99b901e45ce64ef Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Thu, 9 Jul 2020 14:33:14 -0700 Subject: [PATCH] Remove unused test code --- src/QtLocationPlugin/QGCMapEngine.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/QtLocationPlugin/QGCMapEngine.cpp b/src/QtLocationPlugin/QGCMapEngine.cpp index 45577d1e2..15774db36 100644 --- a/src/QtLocationPlugin/QGCMapEngine.cpp +++ b/src/QtLocationPlugin/QGCMapEngine.cpp @@ -222,15 +222,6 @@ QGCMapEngine::cacheTile(QString type, const QString& hash, const QByteArray& ima QString QGCMapEngine::getTileHash(QString type, int x, int y, int z) { -#if 0 - int maxCachedZoom = 15; - if (z > maxCachedZoom) { - double unZoomFactor = qPow(2, z - maxCachedZoom); - x = (double)x / unZoomFactor; - y = (double)y / unZoomFactor; - z = maxCachedZoom; - } -#endif return QString::asprintf("%010d%08d%08d%03d", getQGCMapEngine()->urlFactory()->getIdFromType(type), x, y, z); } -- 2.22.0