mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-06 18:35:41 +02:00
Don't spend memory on overzooming when we aren't going to use it
This commit is contained in:
@@ -495,9 +495,11 @@ struct reader {
|
|||||||
tiles_at_maxzoom_so_far.clear();
|
tiles_at_maxzoom_so_far.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (want_overzoom) {
|
||||||
tiles_at_maxzoom_so_far.push_back(std::pair<unsigned, unsigned>(x, y));
|
tiles_at_maxzoom_so_far.push_back(std::pair<unsigned, unsigned>(x, y));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void next_overzoom() {
|
void next_overzoom() {
|
||||||
zoom++;
|
zoom++;
|
||||||
|
|||||||
Reference in New Issue
Block a user