Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tumic0 committed Nov 20, 2023
1 parent 941b8e2 commit 0a5d531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/mbtilesmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 0a5d531

Please sign in to comment.