mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Code cleanup
This commit is contained in:
parent
941b8e25bd
commit
0a5d5315c0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user