1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2023-11-20 23:31:42 +01:00
parent 941b8e25bd
commit 0a5d5315c0

View File

@ -42,7 +42,7 @@ bool MBTilesMap::getMinZoom(int &zoom)
}
} else {
qWarning("%s: missing minzoom metadata", qPrintable(path()));
zoom = 0;
zoom = OSM::ZOOMS.min();
}
return true;
@ -61,7 +61,7 @@ bool MBTilesMap::getMaxZoom(int &zoom)
}
} else {
qWarning("%s: missing maxzoom metadata", qPrintable(path()));
zoom = 20;
zoom = OSM::ZOOMS.max();
}
return true;