mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Code cleanup
This commit is contained in:
parent
941b8e25bd
commit
0a5d5315c0
@ -42,7 +42,7 @@ bool MBTilesMap::getMinZoom(int &zoom)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
qWarning("%s: missing minzoom metadata", qPrintable(path()));
|
qWarning("%s: missing minzoom metadata", qPrintable(path()));
|
||||||
zoom = 0;
|
zoom = OSM::ZOOMS.min();
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -61,7 +61,7 @@ bool MBTilesMap::getMaxZoom(int &zoom)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
qWarning("%s: missing maxzoom metadata", qPrintable(path()));
|
qWarning("%s: missing maxzoom metadata", qPrintable(path()));
|
||||||
zoom = 20;
|
zoom = OSM::ZOOMS.max();
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user