mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
At least when to overzoom, even if not actually doing it yet
This commit is contained in:
@@ -3238,14 +3238,14 @@ int traverse_zooms(int *geomfd, off_t *geom_size, char *stringpool, std::atomic<
|
||||
z = args[thread].wrote_zoom;
|
||||
}
|
||||
|
||||
if (args[thread].still_dropping) {
|
||||
if (additional[A_EXTEND_ZOOMS] && z == maxzoom && maxzoom < MAX_ZOOM) {
|
||||
maxzoom++;
|
||||
} else if (extend_zooms_max > 0 && z == maxzoom && maxzoom < MAX_ZOOM) {
|
||||
maxzoom++;
|
||||
extend_zooms_max--;
|
||||
}
|
||||
}
|
||||
if (args[thread].still_dropping) {
|
||||
if (additional[A_EXTEND_ZOOMS] && z == maxzoom && maxzoom < MAX_ZOOM) {
|
||||
maxzoom++;
|
||||
} else if (extend_zooms_max > 0 && z == maxzoom && maxzoom < MAX_ZOOM) {
|
||||
maxzoom++;
|
||||
extend_zooms_max--;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ((size_t) z >= strategies.size()) {
|
||||
|
||||
Reference in New Issue
Block a user