diff --git a/src/QtLocationPlugin/QGCMapEngine.cpp b/src/QtLocationPlugin/QGCMapEngine.cpp index 45577d1e2cef4297777861f4a0e1a72442b3735c..15774db3683edb6de04b7dbb3a30bcec535bbf88 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); }