show tile numbers

This commit is contained in:
Konstantin Käfer
2014-01-16 16:28:07 +01:00
parent ba61ab44af
commit 96dacecd6e
8 changed files with 341 additions and 0 deletions

View File

@@ -253,6 +253,8 @@ void map::updateTiles() {
});
// Sort tiles by zoom level, front to back.
// We're painting front-to-back, so we want to draw more detailed tiles first
// before filling in other parts with lower zoom levels.
tiles.sort([](const tile::ptr& a, const tile::ptr& b) {
return a->id.z > b->id.z;
});